cursorless icon indicating copy to clipboard operation
cursorless copied to clipboard

Allow languages to improve the behavior around list based scopes

Open phillco opened this issue 1 year ago • 0 comments

          NTS: this outcome is worse but there's not much we can do about it at the current time. Problem is that closure does not use explicit list limiters and the textual base system can obviously not figure out if a space is part of an item or a separator here. The textual system thinks the entire `:foo "bar" :baz "whatever"` is one "item".

Andreas' idea: allow a language to specify whether it uses explicit delimiters for lists, and if it does not, go back to the old implementation of always taking the language servers opinion.

Originally posted by @phillco in https://github.com/cursorless-dev/cursorless/pull/2683#discussion_r1912528212

phillco avatar Jan 12 '25 20:01 phillco