Commit Graph

584 Commits (master)

Author SHA1 Message Date
ray-x b55f6101fb issue #247 Setting python virtual environment 2 years ago
ray-x 9ecc909548 add treesitter depth setup 2 years ago
ray-x a356035440 remove last item in ts context 2 years ago
ray-x c0bfecc6af issue #246 code action ui width 2 years ago
ray-x 922a4264d8 codeActionProvider check 2 years ago
ray-x bd3dfe2ee2 cursorhold issue https://github.com/ray-x/lsp_signature.nvim/issues/235 2 years ago
ray-x 46ba7e9887 use empty() 2 years ago
ray-x e4a5dcd33f https://github.com/ray-x/go.nvim/issues/241 dirname nil 2 years ago
ray-x f8c743396d allow confirm and concel keybind for inplace rename 2 years ago
ray-x d1db210a88 bugfix lsp.rename cfg table 2 years ago
ray-x a6f181708e cleanup and show rename result 2 years ago
Sebastian Müller 6e94065243
Fix: Remove deprecated rust-analyzer settings (#244)
Fixes #243
2 years ago
ray-x 9efdb79a5c update licence/reference to inc-rename and neovim 2 years ago
ray-x 82a8ce6a6a clear old cache and params 2 years ago
ray-x 050902a135 neovim 0.9.x title option 2 years ago
ray-x 48932f2160 minor fix 2 years ago
ray-x b48424e2bc new rename, inplace rename and floating with preview 2 years ago
ray-x 46804da825 codelens prevent repeated load when lsp does not support 2 years ago
ray-x c6e6c57c86 deprecate experimentalWatchedFileDelay for gopls (0.10.0) 2 years ago
ray-x da978e3f53 allow style_markdown apply to hover 2 years ago
ray-x d77ab354d4 allow hover to be override by other plugins e.g. noice/lspsaga 2 years ago
ray-x 6ee96c35b5 clang encoding 2 years ago
ray-x ce81b4a6da deprecate lsp.buf_get_clients 2 years ago
rayx 7a88235bd1
[breaking] Neodev (#237)
[BREAKING] deprecate lua-dev setup and in favor neodev 
* lua-dev -> neodev
* update deprecated messages
2 years ago
sp4ke 4353d64fa3
fix automated handling of libraries with sumneko_lua + lua-dev (#235)
- This also fixes auto completion with native vim api using lua-dev and
  nvim-cmp (also complements #229)

Co-authored-by: spike <spike@w530>
2 years ago
ray-x c583e1a69d suppress error messages 2 years ago
ray-x 273f614212 highlight symbole updates 2 years ago
ray-x b954695e00 issue #234 notify failed 2 years ago
ray-x 1f3b01acd1 mason updates 2 years ago
ray-x 1cbad111c7 update format_on_save setup 2 years ago
ray-x e882757fb2 update format_on_save setup 2 years ago
sp4ke bd2b48fe6b
fix error for mason+ccls case (#231)
- User has possibility to add exceptions to the clients handled by mason
  This is helpful incase mason is used but a particular LSP server is not
  handled by mason (like *ccls*)

Co-authored-by: spike <spike@w530>
2 years ago
ray-x cd98ca2c5b update floating width 2 years ago
ray-x 451d761f76 features side panel for symbol reference 2 years ago
sp4ke 8278f71878
make sure merge luadev config from user (#229)
Co-authored-by: spike <spike@w530>
2 years ago
ray-x 443fd4d585 issue #228 codelens sign missing 2 years ago
ray-x 10fd76d6d0 default severity 2 years ago
ray-x 8d00282020 volar and diangnostic severity level check 2 years ago
ray-x 9afcd37854 issue #227 2 years ago
ray-x c70d032b08 mason setup 2 years ago
ray-x af7fc7d649 some updates for mason 2 years ago
ray-x d8f19f6fc1 range_code_action deprecated in neovim 0.8 2 years ago
ray-x df7f4d7229 better format ts_context text 2 years ago
ray-x fb87a0b1b7 long line improvement 2 years ago
ray-x 927c464b70 optimize for go and ts_contex 2 years ago
ray-x e9a40aca40 diagnostic: show line diagnostic: offset the floating windows to first error pos 2 years ago
ray-x edee3e39c6 merge changes for treesitter symbole context 2 years ago
sp4ke a7886fc055
Fix keymap buffer (#223)
* apply key mapping to selected buffer only

* <help> filetype should not be handled by navigator

Co-authored-by: spike <spike@w530>
2 years ago
yyk de018d9ae3
Fix invalid buffer in defer fn. (#221) 2 years ago
ray-x 1b262556c0 reuse telecsope color scheme 2 years ago
rayx b4ff1c43b9
Update codelens.lua 2 years ago
ray-x ebd88f5d09 re-order code action so null-ls is not the first to see 2 years ago
ray-x 28d245510f using neovim 0.7 API 2 years ago
ray-x f05d2ec142 lint, expand tab to space for treesitter folding 2 years ago
ray-x 9f151cf718 definition preview, show more contents and allow scroll 2 years ago
ray-x b131251ad8 send floating view result to quickfix; de-duplicate references 2 years ago
ray-x 8978bdb1e3 issue #219 missing end 2 years ago
ray-x ae251289b3 issue #218 range format operator 2 years ago
ray-x a9c223cc22 de-duplicate 2 years ago
ray-x 6c0e286170 update readme for on_attach 2 years ago
ray-x f24a337f5d switch between buffer type 2 years ago
ray-x 3d87ed3b87 issue #217 README missing symbols 2 years ago
ray-x 5713f79265 clear autocmd #191 2 years ago
ray-x 01ef2ce1a1 typo highlight 2 years ago
ray-x 547f2bc15d doc highlight config options update 2 years ago
ray-x dc0b8504bb allow document_highlight to be configurable, update REWADME 2 years ago
ray-x 486085070d #191 cleanup 2 years ago
ray-x fca2fa5aaa some version of neovim does not support underline etc 2 years ago
rayx 49dbca889d
Update clients.lua 2 years ago
ray-x 861ae038dd underdouble is not supported by 0.7.x 2 years ago
ray-x dcc40278c5 use create_autocmd API; split clients.lua into 3 files 2 years ago
ray-x 6736293182 split sumneko 2 years ago
ray-x 10ef469286 issue #214 lsp_installer loading 2 years ago
ray-x 89dd02c927 using neovim 0.7.0 api for autocmd 2 years ago
ray-x bbdf86a66e refactor highlight setup. it is for #216 and also using API from neovim 0.7 now 2 years ago
ray-x ed47d386e6 chore selene setup 2 years ago
ray-x c3ef990390 lint 2 years ago
ray-x de5c88c766 lint pipeline 2 years ago
ray-x 348ab9dced mason support #215 2 years ago
ray-x 967fd32bae prevent autocmd being call in a loop 2 years ago
ray-x 4aef8dc5f2 dartls installer not working #212 2 years ago
ray-x 0de6c290cf issue #211 tsserver not working 2 years ago
ray-x 9aad2978dc resend filetype if lsp not ready 2 years ago
ray-x 49c3e5cd4d prevent compare number to bool. As the name for `html` LSP is `html` 2 years ago
ray-x 47545e03c0 default border hl to FloatBorder 2 years ago
ray-x e5d16e4488 renaming highight group from GHxxx to Guihuaxxx 2 years ago
ray-x 3d9a9582dd bugfix #206 diagnostic failure 2 years ago
rayx 05dfed9ed9
issue #171 multiple lsp server started (#205)
* issue #171 multiple lsp server started

* neovim 0.6.1
2 years ago
ray-x 05753da8db add deprecate message 2 years ago
ray-x 85e3f6e045 Allow user pass the lua-dev setup into navigator 2 years ago
ray-x c30ccd07c9 add options for lsp.buf.format()
update keymap doc
2 years ago
ray-x 4c5d0e67d0 remove table nil handling 2 years ago
ray-x be6da35767 improve treesitter folding 2 years ago
ray-x f567f1b99c dedup definition for script languages 2 years ago
ray-x a93f7cb20f dedup reference results 2 years ago
ray-x 289f67013d indent fallback if treesitter not found 2 years ago
ray-x 56b00b83d5 diagnostic func failed to keymap 2 years ago
ray-x 3fe9a876c4 bugfix hover keymaps not mapped correctly 2 years ago
rayx acca6009e0
[Breaking] using vim.keymap.set, breaking changes (#200)
* using vim.keymap.set, breaking changes

* update keymaps

* doc updates
2 years ago
ray-x a225d18eaf new tests for hierarchy, refactor reference_spec test 2 years ago
ray-x 7d84a9f0c0 issue #201 vfn nil 2 years ago
ray-x 22e858f261 #195 update doc for rust-tool, make client/bufnr require fields for mapping.setup(opts) when calling from rust/clangd on_attach 2 years ago
ray-x 724d5f3439 add scope info in treesitter panel 2 years ago
ray-x 3dc8c02c39 add scope info in panel 2 years ago
ray-x 91d1366b65 update treesitter for 0.6.1 pipeline 2 years ago
ray-x d951a5fcd2 fix for test failure 2 years ago
ray-x 68eb18c310 offset for definition preview 2 years ago
ray-x 8d77c3ab1e bug fix for #166 not all items shown in listview. Also add flag allow control when the ts info will be added
update readme
2 years ago
rayx 9f7bd6ebff
Feature/198 calltree (#199)
* refactor hierarchy.lua

* show side panel for hierarchy

* allow call hierarchy to fold and expand to show call tree

* update command maps
2 years ago
ray-x aba0d89745 remove traceback logs 2 years ago
ray-x c1b0694bef map incoming/outgoing calls handler 2 years ago
ray-x 9dee73010b optimize treesitter symbol tree 2 years ago
ray-x 1b3a02df3e symbol indent level for embedded struct 2 years ago
rayx 1f6103ed95
Side panel (#197)
* add sidepanel

* revert some changes and fix nil indent level

* Add side panel; bugfix for ctags
2 years ago
ray-x 7bfd9157fe update TS fold 2 years ago
ray-x 48e35f4e56 hold ctags windows untils ctags cmd finished 2 years ago
ray-x 27442d2784 simpily codeaction and range_code_action keymapping and code 2 years ago
ray-x 3ad93531b5 unit tests for treesitter 2 years ago
ray-x 61a82559d6 add treesitter tests 2 years ago
ray-x f8985d7aa2 allow skip lsp clients setup 2 years ago
ray-x 516d643ffe lsp installer update issue #181 2 years ago
ray-x 6b4cfa3d59 symbol layout update 2 years ago
ray-x cce0e90544 gui listview updates, allow listview cover more spaces 2 years ago
rayx 2f35446fbe
issue #192 pylsp range missing (#193)
* issue #192 pylsp range missing
2 years ago
ray-x 1908ea5175 improve line rendering when trim long text 2 years ago
ray-x 6c3ee44729 bugfix workspace symbol from multiple lsp clients 2 years ago
ray-x 6e937e9019 workspace symbole search improvements. allows to show interactive search results in the symbol list. 2 years ago
ray-x 01801ba8fa change ts not load notify level 2 years ago
ray-x d0ab595b93 code action flicker 2 years ago
ray-x 3f49769abc lint all codes 2 years ago
ray-x 32ddd66dd2 fix for issue#191 2 years ago
ray-x feb780fb10 reloaded client when failed 2 years ago
ray-x ea2c207ec9 updates for client loading 2 years ago
ray-x b249d1680a handle same lsp started multiple times (esp for those take long time to start ) issue #171 2 years ago
ray-x 13c3dd4072 disable logs when debug is not on 2 years ago
ray-x a0eff2c5a3 Merge branch 'serverCapcities' 2 years ago
Michael Adler 2e96dcd327
fix(sumneko): fix incorrect usage of runtime.path (#189)
This is quite tricky to get right, because there are two ways for
sumneko to search for files, namely:

1. Lua.runtime.path

When using `require`, how to find the file based on the input name.
Setting this config to `?/init.lua` means that when you enter `require
'myfile'`, `${workspace}/myfile/init.lua` will be searched from the
loaded files.  if `runtime.pathStrict` is `false`,
`${workspace}/**/myfile/init.lua` will also be searched.  If you want to
load files outside the workspace, you need to set
`Lua.workspace.library` first.

2. Lua.workspace.library

In addition to the current workspace, which directories will load files
from. The files in these directories will be treated as externally
provided code libraries, and some features (such as renaming fields)
will not modify these files.

The crucial point is that `Lua.runtime.path` only applies to
the *current* workspace. Thus it makes no sense to add any absolute
directories here. Absolute directories must be added to
workspace.library, which is already the case. The default value provided
by sumneko is what you typically would expect, so I have switched to it.

References:

- 076dd3e5c4/locale/en-us/setting.lua (L5-L13)
- e62d964ff5/script/config/config.lua (L151)
2 years ago
ray-x 8a32139e1a lsp installer path issue #187 2 years ago
rayx a73fb38ef9
update resolved_capacities -> server_capacities (#185)
* update resolved_capacities

* format renaming

* remove comments

* remove mk_handler. update documentFormator

* bumpup test image to ubuntu 22.04

* add logs when neovim is lower than 0.8
2 years ago
ray-x 96ca715ea6 add logs when neovim is lower than 0.8 2 years ago
ray-x 4d93172915 remove mk_handler. update documentFormator 2 years ago
ray-x 0ac13663cf remove comments 2 years ago
ray-x 500553ae6b format renaming 2 years ago
ray-x d1836f4299 update resolved_capacities 2 years ago
rayx 5131b30ad7
clangd on_attach 2 years ago
ray-x eb75b09a33 issue #183 clangd missing bufnr 2 years ago
ray-x 93e28f36d0 issue #182 vim nottify in on_attach did not setup log level 2 years ago
ray-x 77b572dd5a terraform_lsp 2 years ago
ray-x 03d0aaa05d add tflint 2 years ago
ray-x 0c31d692ee https://github.com/ray-x/navigator.lua/pull/179 and issue #177 lsp codelens enable 2 years ago