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
ray-x
9ceeb41b6f
issue #175 format on save
2 years ago
ray-x
c2c1c57136
terraform tf/tfvars, diagnostic show&hide, diagnostic default override
2 years ago
0x7a7a
595263e8b4
fix diagnostic cfg path error ( #173 )
...
* fix diagnostic cfg path error
* add defult lsp.diagnostic setting
* Update navigator.lua
Simplify logic
Co-authored-by: rayx <rayx.cn@gmail.com>
2 years ago
ray-x
cd53b02f93
use native get_node_text
2 years ago
ray-x
15e6b315b7
add logs
2 years ago
ray-x
31f2f920e1
lsp encoding default value
2 years ago
ray-x
23e25c298e
issue #164 disable declaration only in reference
2 years ago
ray-x
8b43ed23e2
change the way checking total number of clients attached #167
2 years ago
ray-x
8dbac5efc9
issue #168 ccls highlight
2 years ago
ray-x
d08d78f6a4
skip the reorder for codeaction. Null-ls is default to be in bottom of the list
2 years ago
ray-x
3d217bffce
prevent recursion loop
2 years ago
ray-x
2ed33d7d60
stylua
2 years ago
ray-x
e55ae08e9d
bugfix #163 defination not found
2 years ago
ray-x
d990da84a6
bugfix #161 callhierachy ccls assertion
2 years ago
ray-x
bb018d541b
issue #161 ccls failure
2 years ago
ray-x
b69154f9ee
nil handling
2 years ago
ray-x
5c8b3b9ca1
bugfix #157 failed to override clangd setup
2 years ago
ray-x
7f22411b1f
issue #156 Can't disable virutal text
2 years ago
ray-x
ab96133b47
support config from a lazy function
2 years ago
ray-x
34c3bc9c76
Merge branch 'master' into neovim_0.7
2 years ago
studierer
035917c57a
add more lsp ( #152 )
2 years ago
ray-x
3e03e37d9f
update terraform setup
2 years ago
ray-x
5773f66d14
terraform updates
2 years ago
ray-x
74eccbd799
Merge branch 'master' into neovim_0.7
2 years ago
ray-x
0346fc3c0f
hash key update
2 years ago
ray-x
b2d846647b
Merge branch 'master' into neovim_0.7
2 years ago
ray-x
cfe8738ad5
disable filetype 'gitcommit'
2 years ago
ray-x
982fe81922
Merge branch 'master' into neovim_0.7
2 years ago
ray-x
d024335c91
update client loading
2 years ago
ray-x
41593cb7e4
remove json from auto highlight autocmd
2 years ago
ray-x
429cd16292
remove json from highlight autocmd
2 years ago
ray-x
2c7334e1b6
Merge branch 'master' into neovim_0.7
2 years ago
ray-x
3adbbaf509
remove terraform from auto highlight
2 years ago
ray-x
ff8ae83300
reverse sort lsp actions
2 years ago
Joseph DelCioppio
b10964e5a2
Add support for ELixir LS ( #149 )
2 years ago
ray-x
e4b2fc0afe
merge master
2 years ago
ray-x
2e43b8ee0a
merge master
2 years ago
ray-x
2232317b0a
combine on_attach
2 years ago
ray-x
ff57a1f916
force keymap to be loaded when on_attach is not called it may releated to #130
2 years ago
ray-x
f0c5610a1f
merge master
2 years ago
ray-x
c7872c83a8
merge master
2 years ago
ray-x
bf2e867354
lint
2 years ago
ray-x
11d25933ad
move capabilities checn around
2 years ago
ray-x
8e9bf39f13
allow config lsp with function
2 years ago
ray-x
ccb1bac250
lazy load with func for client config
2 years ago
ray-x
62477b294e
drop neovim 0.5 deprecated API
2 years ago
ray-x
c03cbca758
update keymaps for gd
2 years ago
ray-x
2d5290d3d6
gd keymaps
2 years ago
David de Rosier
dcabc38a12
Fixes problem with disabling icons not working ( #142 ) ( #143 )
2 years ago
ray-x
c9f34ac179
check doc highlight
2 years ago
ray-x
2344a9d611
override cfg.cmd setting only when installer is used and no valid cmd is provided
2 years ago
ray-x
1f3ae4a675
update readme of log path, remove lspinstaller logs
2 years ago
ray-x
45e0698d00
issue #137 lspinstaller API changed
2 years ago
ray-x
5b2e003258
disable trace
2 years ago
ray-x
72ed02f879
locations_to_items offset_encoding
2 years ago
ray-x
92296c9fc8
dochl client offset encoding
2 years ago
ray-x
96885ae509
add log message when bufnr is not provided
2 years ago
ray-x
4ca6b376a7
breaking changes: https://github.com/neovim/neovim/issues/14090 , issue #136
2 years ago
ray-x
da9448a88c
neovim breaking changes: offset_encoding
2 years ago
ray-x
3bc154bbb3
issue #135 bugfix
2 years ago
ray-x
e80f004f5b
issue #133 change gT map to <Leader>gt
2 years ago
ray-x
73dfd12f0f
async handler check status before close
2 years ago
ray-x
bad19ebc84
lsp_signature setup was not documented in README. Add playground folder
2 years ago
ray-x
4144024068
allow to config when will the fuzzy finder prompt to be shown
2 years ago
ray-x
a0679626e2
cleanup code
2 years ago
ray-x
1202df85cd
update notify message when symbol not found #126
2 years ago
ray-x
b89811b1b6
bugfix issue #126
2 years ago
ray-x
c3f6b14233
#124 viewctlobject error
2 years ago
ray-x
23090c567c
updates vim.notify
2 years ago
ray-x
aa9b80e848
empty func
2 years ago
ray-x
19969e3902
keymap bugfix #119
2 years ago
ray-x
47bcf183b8
nil check
2 years ago
ray-x
abf5de64fd
update gui for workspace symbol
2 years ago
ray-x
873135bf9a
lsp def and lsp ref with async request
2 years ago
ray-x
c528b58bb9
replace print to notify, add workspace gui
2 years ago
ray-x
85d907ffaf
add lspkeymaphelp command to show the current keymapping
2 years ago
ray-x
5ab4dffba5
add gohtmltmpl in default setup
2 years ago
ray-x
e869cedba3
cleanup
2 years ago
rayx
941b3fc80f
vim.ui.select adapt native codeaction and codelens apply actions ( #117 )
...
* doc update for lsp-installer
* use vim.ui.select and guihua ui patch
* adjust null-ls sequence
2 years ago
ray-x
4b1670423e
issue #116 nil client
2 years ago
ray-x
5c13477220
dochighlight update
3 years ago
ray-x
1c67e790eb
remove duplicated codes
3 years ago
ray-x
3c9ee3785c
omnisharp default setup
3 years ago
ray-x
65701259c1
simplify gui; dochighlight
3 years ago
ray-x
73f0041dc1
bugfix #115 incorrect bufnr
3 years ago
ray-x
ce3c5fe2cb
fix the referece floatwindow loading performance issue
3 years ago
ray-x
2f44f0115a
add servers options for #109
3 years ago
ray-x
9aec552ac1
Add warning messages if the user setup maybe deprecated or incorrect
3 years ago
Loreo13
3d6b24f919
Add root markers for clojure_lsp ( #108 )
...
* Add support for clojure_lsp
* Show clojure_lsp is supported in README.MD
* Add root_patterns for clojure_lsp
3 years ago
Loreo13
c85fcb202f
Add support for clojure_lsp ( #107 )
...
* Add support for clojure_lsp
* Show clojure_lsp is supported in README.MD
3 years ago
ray-x
cdee0ec57b
bugfix #105
3 years ago
ray-x
83b66dbea1
Add error check for config, Allow show additional info for diagnostic
3 years ago
ray-x
49fb9032d8
bugfix clangd #102 buffer not loaded empty diagnostic info
3 years ago
ray-x
388711d97d
issue #101 disable diagnostic_scrollbar
3 years ago
ray-x
0b2e66fa98
disable packer filetype as default
3 years ago
ray-x
99b7b1c502
issue #99 add texlab
3 years ago
ray-x
db09db7ef3
neovim 0.6 update for highlight
3 years ago
ray-x
342a429485
update disable filetype and README
3 years ago
ray-x
04cfdbd4d2
rls symbol
3 years ago
ray-x
04d8e71008
add setup option
3 years ago
ray-x
a6f668e05f
preselect 1st item in code action. lsp_signature hook
3 years ago
ray-x
f43b0aba0e
add diagnostic toggle, adjust width of preview window
3 years ago
ray-x
5a84868481
using client number in code action
3 years ago
ray-x
427007ee9b
bugfix issue #97
3 years ago
ray-x
262181246d
update symbol preview with treesitter scope
3 years ago
TANIGUCHI Masaya
d9fb882e98
Add markdown ( #96 )
3 years ago
ray-x
622804e674
client load table on filetype detected
3 years ago
ray-x
c9514dffe9
support for lsp-installer (deprecate lsp-installer) issue #90
3 years ago
ray-x
c890f3818d
Merge branch 'nvim-lsp-installer'
3 years ago
ray-x
74ea1ddd73
document update
3 years ago
ray-x
062e7e4ffc
document save & fmt aucmd
3 years ago
ray-x
fab08151e6
refactor diagnostic https://github.com/neovim/neovim/pull/16057
3 years ago
ray-x
0c0801c92d
fix for issue #92 default_mapping=false
3 years ago
ray-x
5083b07972
setup with lsp installer
3 years ago
ray-x
b936cbb48d
updates for lsp-installer
3 years ago
ray-x
87f4c2b664
deprecate lspinstall in faviour of lsp_installer
3 years ago
ray-x
7514301d80
bugfix issue #91 return if no result returns
3 years ago
ray-x
d6b81ba8ab
bug fix #91 outgoing_calls failure for pyright
3 years ago
ray-x
36c01adc2d
buffer lsp reference highlight #88
3 years ago
ray-x
0a5db66968
format per buffer setup
3 years ago
ray-x
c4bfcabd64
merge lsp_request check lsp cap before sending lsp request to client
3 years ago
ray-x
36683e3646
remove logs and update golang version
3 years ago
ray-x
ed834ecf0d
diagnostic fix for #86
3 years ago
ray-x
1b3ba27403
bugfix start warning code action
3 years ago
ray-x
b521c2e7bb
update code_action/code_lens_action config. Move to lsp section
3 years ago
ray-x
d932978441
update code lens action icon
3 years ago
ray-x
89b08bc968
svelte, codeaction remove empty, luadev #72
3 years ago
ray-x
a952d694e1
lazyload for lua-dev
3 years ago
ray-x
1f3680d4b1
bugfix for codeAction newText
3 years ago
ray-x
faab21a1a7
issue #82
3 years ago
ray-x
c08cbdda89
lazy load for lua-dev
3 years ago
rayx
93c7eae2ca
Code action v2 ( #81 )
...
* bugfix for #71
* Better lspinstall support
* incoming_calls and outgoing_calls cause errors when results from LSP server have multiple lines #78
* remove logs
* update README.md
* defer format update
* lazyload lua-dev #72
* timer of filetype detect to 500
* document update
* update codeaction
* action command
* update code action details
* add svelteserver
3 years ago
ray-x
74af2c1a72
add svelteserver
3 years ago
ray-x
892804d51e
update code action details
3 years ago
ray-x
00a015e27a
action command
3 years ago
ray-x
c55729e879
update codeaction
3 years ago
ray-x
687f78db5b
timer of filetype detect to 500
3 years ago
ray-x
1ba70b81d5
lazyload lua-dev #72
3 years ago
ray-x
4e69764a52
defer format update
3 years ago
ray-x
9460b82d05
Merge branch 'master' into multi_loading
3 years ago
ray-x
d793df9b42
remove logs
3 years ago
ray-x
2afd51ae11
incoming_calls and outgoing_calls cause errors when results from LSP server have multiple lines #78
3 years ago
ray-x
0f2868c5e6
Better lspinstall support
3 years ago
spindensity
633c7da38f
Fix #73 : Calling defintion_preview() on blank lines causes error ( #74 )
...
Co-authored-by: Jinsong Zhang <spindensity@gmail.com>
3 years ago
spindensity
5391bf6aec
Fix #75 : The error handling code of implementation_handler() does not work ( #76 )
...
Co-authored-by: Jinsong Zhang <spindensity@gmail.com>
3 years ago
ray-x
3c0646074a
bugfix for #71
3 years ago
ray-x
a2ddb1ff4b
logs cleanup. enable formatting hook only when cap formatting
3 years ago
ray-x
ecb25de260
rename disable_format_ft to disable_format_cap
3 years ago
ray-x
97b265a64d
Update diagnostic virtual text marker
3 years ago
ray-x
e56eeb4f88
issue #67 disable_lsp = 'all' causes errors
3 years ago
ray-x
295b5e89ec
cleanup logs, enable pyright format with black
3 years ago
ray-x
69578d6a3c
Delete deprecated hover.lua, update floating win width, refresh diagnostic errors
3 years ago
rayx
79fee5dda8
Vim diagnostic refactor ( #63 )
...
* multigrid support
* Tuning diagnostic performance, add codelens inline hint function
* add ctx to error marker handler
* setup lsp_signature from navigator
* diagnostic refact PR https://github.com/neovim/neovim/pull/15585
* diagnostic api changes
* allow disable emoji/nerdfont icons setup
* improve diagnostic/codeaction/codelens preview popup; add seperate line
* severity_sort set to reverse
* prettier for markdown. code action virtual text show title
3 years ago
ray-x
90039247b4
jdtls, enable signature by default
3 years ago
rayx
91e22f5e71
Lv thread ( #60 )
...
* update tests, update total display
* not run ts def multiple time
* Thread enable for display and backend
* remove ::continue::
* README updates
* skip diagnostic in edit mode
* error marker uri nil handling
* disable debug
* debounce text change to 1s
* severity sort
* diagnostic skip loading files
3 years ago
ray-x
507ad0b146
error marker uri error
3 years ago
ray-x
26012cf9c1
Merge vim.loop changes (replacing vim.fn.getcwd)
3 years ago
ray-x
2cb2b23c6d
Add split options when open preview file
3 years ago
ray-x
890b3c5f7f
keymapping #57
3 years ago
ray-x
2a174d8eb4
typo, cleanup
3 years ago
ray-x
22028ff82e
#57 refactor keymapping on lsp attach
3 years ago
ray-x
d60b3c4024
keymapping for signature. Align to lspconfig default
3 years ago
rayx
08dba1beb6
Nvim 0 6 lsp signature changes ( #56 )
...
* bugfix diagnostic error
* bugfix for code lens for neovim 0.6
* gh test workflow
* bugfix github workflow
3 years ago
ray-x
f33a3e8e7d
allow preview more lines
3 years ago
ray-x
b9f8ed3c55
show error messages
3 years ago
ray-x
56479a0339
add gitignore, remove logs and print statement
3 years ago
ray-x
2d1aa63b93
Merge branch 'master' of github.com:ray-x/navigator.lua
3 years ago
ray-x
cde5c6be5c
strange code action casued cursor drifting. disable codeaction in insert mode
3 years ago
Matt Bailey
d771df0fa7
Name change lspinstall to nvim-lspinstall in lazy loader ( #54 )
...
On a clean install, packer compiles down to:
```lua
["nvim-lspinstall"] = {
loaded = true,
path = "..."
},
```
rather than
```lua
["nvim-lspinstall"] = {
loaded = true,
path = "..."
},
```
without this change, I get a (cosmetic) error on every startup like this:
```
Error: attempted to load lspinstall which is not present in plugins table!
Error in packer_compiled: ...m/site/pack/packer/start/packer.nvim/lua/packer/load.lua:13: Error: attempted to load lspinstall which is not present in plugins table!
Please check your config for correctness
```
```
3 years ago
ray-x
e36809759b
clean up logs
3 years ago
ray-x
e37b52ffc1
allow using number 1~9 to quick jump to item in the list
3 years ago
ray-x
be888b94a1
#53 <BS> remap for rename
3 years ago
ray-x
940349759b
Feature: LRU cache for search result
3 years ago
ray-x
d39cf20903
disable all lsp #49 by setting disable_lsp='all'
3 years ago
ray-x
dd4b04159d
lsp nerdfont for cmp
3 years ago
ray-x
01f97aa665
capabilities default. based on cmp nvim-lsp suggestions
3 years ago
Behzad
5c7925a54a
Fix for ]d being mapped to diagnostic.goto_next. It has been changed to diagnostic.goto_prev that should be the behaviour according to the readme. ( #47 )
3 years ago
ray-x
72e0b4e1e4
github workflow and reference spec test
3 years ago
ray-x
f5a1fc747b
add diagnostic_virtual_text, #42
3 years ago
ray-x
aef51cc696
allow config codelens icon
3 years ago
ray-x
78e574cbcd
codelens setup for gopls
3 years ago
ray-x
369233a758
change print info to log. codelens is not supported by lots of lsp
3 years ago
ray-x
a200c1db2b
Update UI for code lens
3 years ago
ray-x
58ac955777
codelens support, foldelsp
3 years ago
ray-x
51d32b26b9
Feature: Treesitter folding
3 years ago
ray-x
d29ce05d16
New treesitter util helper to find node type in current line
3 years ago
ray-x
04cf51f6c8
feature: blur effect
...
feature: transparancy setup
3 years ago
ray-x
4f262e9909
deprecate pyls
3 years ago
ray-x
a1bd077939
bugfix #41 extra <cmd> in keymapping
3 years ago
ray-x
d04159f633
bugfix #40 handle nil lsp setup
3 years ago
ray-x
a85c3e89ae
do not load lsp if server executable is not valid
3 years ago
ray-x
0584a5cd06
feature: diagnostic sign in scroll bar area enable by default
3 years ago
ray-x
7dd5d50691
update default treebindings #39
3 years ago
ray-x
4ff9aa47a3
diagnosticDelay and watchedFileDelay update for gopls (0.7.1)
3 years ago
ray-x
ef995eeb7e
border setup for diagnostic
3 years ago
ray-x
f16a04482d
add config for showing error in quickfix
3 years ago