Sorry for the delay lol this PR includes multiple minor changes that imo are worth incorporating:
Changed the file mode of all regular files to 100644 (I just noticed that, not sure why our LICENSE is executable lmao)
Changed ts-context's trim_scope back to outer. My reasoning is that this appears to be a better default for most parsers, as more relevant information tends to come last. For example:
Most parsers typically generate this kind of hierarchy, with the most relevant bit of information at the very end of the tree. It would be trimmed out if trim_scope is set to inner.
get_active_clients will only return the clients that are active in the current buffer. Updated the function call to reflect this.
Sorry for the delay lol this PR includes multiple minor changes that imo are worth incorporating:
100644
(I just noticed that, not sure why ourLICENSE
is executable lmao)ts-context
'strim_scope
back toouter
. My reasoning is that this appears to be a better default for most parsers, as more relevant information tends to come last. For example:Most parsers typically generate this kind of hierarchy, with the most relevant bit of information at the very end of the tree. It would be trimmed out if
trim_scope
is set toinner
.get_active_clients
will only return the clients that are active in the current buffer. Updated the function call to reflect this.