forked from kakoune-lsp/kakoune-lsp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Teach next/prev symbol functions to allow multiple symbol kinds
The new next/prev symbol feature is typically used to jump around functions. We even provide a convenience wrapper with a default mapping. Some programming styles use mostly methods instead of functions. To make the default mapping more useful, extend it to jump to functions *or* methods, instead of just methods. Delete the convenience wrapper for methods, since that's now superseded. Swap the argument order of lsp-next-symbol and friends, so we can take a variable number of symbol kinds. Add a deserialization method until this feature becomes part of lsp_types, see gluon-lang/lsp-types#224
- Loading branch information
Showing
4 changed files
with
83 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters