diff options
author | João Távora <joaotavora@gmail.com> | 2024-01-01 15:12:28 -0600 |
---|---|---|
committer | João Távora <joaotavora@gmail.com> | 2024-01-01 15:12:43 -0600 |
commit | 24741d25633084101ab697ba6e28f03e1cdc8b7a (patch) | |
tree | c9650866b9740585e52a34dd13acea626f09847c /test/lisp/cedet/semantic-utest-ia-resources/testdoublens.cpp | |
parent | 6e2e34a5caa75a3430a1fb0d89900f9911c50436 (diff) | |
download | emacs-24741d25633084101ab697ba6e28f03e1cdc8b7a.tar.gz emacs-24741d25633084101ab697ba6e28f03e1cdc8b7a.tar.bz2 emacs-24741d25633084101ab697ba6e28f03e1cdc8b7a.zip |
Eglot: filter by prefix in narrow-scope eglot-code-actions
Github-reference: https://github.com/joaotavora/eglot/issues/847
Servers like typescript-language-server, when asked for {"only" :
"source.organizeImports"}, return actions with the
"source.organizeImports.ts" kind. Eglot rejected these actions, but
according to the spec:
Kinds are a hierarchical list of identifiers separated by `.` [...]
The set of kinds is open.
So I guess we can use string-prefix-p
* lisp/progmodes/eglot.el (eglot-code-actions): Use string-prefix-p.
Diffstat (limited to 'test/lisp/cedet/semantic-utest-ia-resources/testdoublens.cpp')
0 files changed, 0 insertions, 0 deletions