ray-x
0f2868c5e6
Better lspinstall support
2021-09-24 11:54:03 +10:00
spindensity
633c7da38f
Fix #73 : Calling defintion_preview() on blank lines causes error ( #74 )
...
Co-authored-by: Jinsong Zhang <spindensity@gmail.com>
2021-09-23 17:18:42 +10:00
spindensity
5391bf6aec
Fix #75 : The error handling code of implementation_handler() does not work ( #76 )
...
Co-authored-by: Jinsong Zhang <spindensity@gmail.com>
2021-09-23 17:17:49 +10:00
ray-x
3c0646074a
bugfix for #71
2021-09-23 10:41:28 +10:00
ray-x
a2ddb1ff4b
logs cleanup. enable formatting hook only when cap formatting
2021-09-23 00:43:31 +10:00
ray-x
ecb25de260
rename disable_format_ft to disable_format_cap
2021-09-22 19:46:24 +10:00
ray-x
97b265a64d
Update diagnostic virtual text marker
2021-09-22 17:28:15 +10:00
ray-x
e56eeb4f88
issue #67 disable_lsp = 'all' causes errors
2021-09-22 00:29:33 +10:00
ray-x
295b5e89ec
cleanup logs, enable pyright format with black
2021-09-21 01:44:55 +10:00
ray-x
69578d6a3c
Delete deprecated hover.lua, update floating win width, refresh diagnostic errors
2021-09-20 14:19:00 +10:00
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
2021-09-19 12:42:34 +10:00
ray-x
90039247b4
jdtls, enable signature by default
2021-09-14 10:41:13 +10:00
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
2021-09-13 23:18:54 +10:00
ray-x
507ad0b146
error marker uri error
2021-09-12 14:35:20 +10:00
ray-x
26012cf9c1
Merge vim.loop changes (replacing vim.fn.getcwd)
2021-09-09 12:59:58 +10:00
ray-x
2cb2b23c6d
Add split options when open preview file
2021-09-08 08:38:07 +10:00
ray-x
890b3c5f7f
keymapping #57
2021-09-08 01:48:42 +10:00
ray-x
2a174d8eb4
typo, cleanup
2021-09-08 01:06:58 +10:00
ray-x
22028ff82e
#57 refactor keymapping on lsp attach
2021-09-07 21:08:00 +10:00
ray-x
d60b3c4024
keymapping for signature. Align to lspconfig default
2021-09-06 11:36:31 +10:00
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
2021-09-06 08:34:26 +10:00
ray-x
f33a3e8e7d
allow preview more lines
2021-09-04 18:49:08 +10:00
ray-x
b9f8ed3c55
show error messages
2021-09-04 16:55:02 +10:00
ray-x
56479a0339
add gitignore, remove logs and print statement
2021-09-01 17:14:00 +10:00
ray-x
2d1aa63b93
Merge branch 'master' of github.com:ray-x/navigator.lua
2021-09-01 15:25:26 +10:00
ray-x
cde5c6be5c
strange code action casued cursor drifting. disable codeaction in insert mode
2021-09-01 15:25:11 +10:00
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
```
```
2021-09-01 09:00:25 +10:00
ray-x
e36809759b
clean up logs
2021-08-31 15:03:12 +10:00
ray-x
e37b52ffc1
allow using number 1~9 to quick jump to item in the list
2021-08-31 12:50:37 +10:00
ray-x
be888b94a1
#53 <BS> remap for rename
2021-08-31 07:38:34 +10:00
ray-x
940349759b
Feature: LRU cache for search result
2021-08-29 17:35:46 +10:00
ray-x
d39cf20903
disable all lsp #49 by setting disable_lsp='all'
2021-08-27 10:25:48 +10:00
ray-x
dd4b04159d
lsp nerdfont for cmp
2021-08-26 16:19:03 +10:00
ray-x
01f97aa665
capabilities default. based on cmp nvim-lsp suggestions
2021-08-26 10:36:35 +10:00
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 )
2021-08-26 09:20:22 +10:00
ray-x
72e0b4e1e4
github workflow and reference spec test
2021-08-24 17:14:43 +10:00
ray-x
f5a1fc747b
add diagnostic_virtual_text, #42
2021-08-24 09:17:20 +10:00
ray-x
aef51cc696
allow config codelens icon
2021-08-23 12:56:59 +10:00
ray-x
78e574cbcd
codelens setup for gopls
2021-08-23 12:56:04 +10:00
ray-x
369233a758
change print info to log. codelens is not supported by lots of lsp
2021-08-22 21:19:40 +10:00
ray-x
a200c1db2b
Update UI for code lens
2021-08-22 20:13:00 +10:00
ray-x
58ac955777
codelens support, foldelsp
2021-08-22 09:19:11 +10:00
ray-x
51d32b26b9
Feature: Treesitter folding
2021-08-20 01:19:38 +10:00
ray-x
d29ce05d16
New treesitter util helper to find node type in current line
2021-08-20 01:14:03 +10:00
ray-x
04cf51f6c8
feature: blur effect
...
feature: transparancy setup
2021-08-19 10:01:10 +10:00
ray-x
4f262e9909
deprecate pyls
2021-08-18 12:18:07 +10:00
ray-x
a1bd077939
bugfix #41 extra <cmd> in keymapping
2021-08-18 10:50:17 +10:00
ray-x
d04159f633
bugfix #40 handle nil lsp setup
2021-08-18 10:31:20 +10:00
ray-x
a85c3e89ae
do not load lsp if server executable is not valid
2021-08-17 19:13:05 +10:00
ray-x
0584a5cd06
feature: diagnostic sign in scroll bar area enable by default
2021-08-17 08:32:17 +10:00
ray-x
7dd5d50691
update default treebindings #39
2021-08-15 19:46:30 +10:00
ray-x
4ff9aa47a3
diagnosticDelay and watchedFileDelay update for gopls (0.7.1)
2021-08-14 13:05:40 +10:00
ray-x
ef995eeb7e
border setup for diagnostic
2021-08-12 23:34:27 +10:00
ray-x
f16a04482d
add config for showing error in quickfix
2021-08-12 12:25:15 +10:00
ray-x
54906cebaf
Diagnostic error per buffer
2021-08-10 15:27:20 +10:00
ray-x
96e9772d5b
bugfix: virtual marker out of range for diag
2021-08-10 09:48:49 +10:00
ray-x
747db16f59
clean namespace, update doc
2021-08-10 02:03:51 +10:00
ray-x
2c11296b70
Feature: show diagnostics info summary in scrollbar area
2021-08-10 01:09:53 +10:00
ray-x
d034edbe0e
add lspinstall
2021-08-06 17:24:03 +10:00
ray-x
6c753645c3
close the quickfix if there is no diagnostic errors
2021-08-03 11:24:51 +10:00
ray-x
3d170771e9
update diangostic event handler
2021-08-01 23:32:55 +10:00
ray-x
1fa56d20a5
set_loclist update
2021-07-31 15:21:14 +10:00
ray-x
5b2dcb7cd0
Rename ToggleLspFmt to LspToggleFmt
2021-07-23 10:44:55 +10:00
ray-x
1ef00fe742
Add ToggleLspFmt to disable lsp format, bugfix for signature
2021-07-23 10:19:19 +10:00
ray-x
fec4640966
bugfix: codeaction broken because guihua update
2021-07-20 15:59:21 +10:00
ray-x
5af79c7ff2
bugfix: #35 update fzy on_confirm, it might cause #35
2021-07-20 09:32:09 +10:00
ray-x
3f6de1f686
document update, golsp setup
2021-07-17 12:34:07 +10:00
ray-x
62178024fd
add efm load option
2021-07-09 00:30:30 +10:00
ray-x
1df533bf5f
[bugfix] lua sumneko go definition multi definitions uri nil
2021-07-08 23:08:19 +10:00
ray-x
dcc616765e
[Bugfix] Update default config regarding keymaps
2021-07-08 13:05:39 +10:00
ray-x
380c2c4c6e
Add keymapping for workspace (lspconfig)
2021-07-08 12:44:51 +10:00
ray-x
d58c377a73
[Breaking] change some of mappings to be same as lspconfig
2021-07-08 12:30:49 +10:00
ray-x
f8060a72c8
update keymapping override document and sample config
2021-07-08 08:50:06 +10:00
ray-x
d62b03c394
remove defer_fn as it may throw error messages...
2021-07-05 12:19:18 +10:00
ray-x
e64c56789f
improve on_attach override
2021-07-05 11:21:52 +10:00
ray-x
47656e063e
tuning timer
2021-07-05 10:22:34 +10:00
ray-x
18fc04a18c
merge changes
2021-07-05 10:13:57 +10:00
ray-x
70ebfffb55
Merge branch 'client_failed_startup'
2021-07-05 10:13:44 +10:00
ray-x
a0fa3d278a
retry client setup
2021-07-05 10:08:34 +10:00
ray-x
f16893fc4f
Revert "improve launching time"
...
This reverts commit b08bfd6839
.
2021-07-05 08:52:48 +10:00
ray-x
0d29116b18
limit the number of file running treesitter analysis
2021-07-02 20:49:49 +10:00
ray-x
b08bfd6839
improve launching time
2021-07-02 19:32:19 +10:00
ray-x
f30e5a290d
gopls flags->allow_incremental_sync/debounce update
2021-07-01 16:32:07 +10:00
ray-x
f5f07d586d
add logs for windows
2021-07-01 07:53:41 +10:00
ray-x
05e51f2e74
postphone the treesitter loading
2021-06-30 13:53:36 +10:00
ray-x
69e16a55d2
disable luaformat and reformat key_maps
2021-06-29 13:32:42 +10:00
RogerYK
16da97e10d
fix keymaps setting ( #25 )
...
Remove duplicate key mappings
2021-06-29 13:29:20 +10:00
ray-x
baad5112d8
optimize jump to position
...
improve jump location
2021-06-28 20:48:46 +10:00
ray-x
1acfe90f12
path seperate update
2021-06-25 22:17:28 +10:00
ray-x
e4ca27ca86
MS Windows name update
2021-06-25 20:28:26 +10:00
ray-x
c5fe79d6df
update window height and width preset
2021-06-25 20:18:55 +10:00
ray-x
95b45a6cf6
windows path fix: issue #20
2021-06-25 10:33:04 +10:00
ray-x
298c4659da
ccls call hierarchy
2021-06-24 00:09:33 +10:00
ray-x
7514fa9f70
update lua-lsp
2021-06-20 11:45:42 +10:00
ray-x
d8196c26a0
remove lsp_signature from on_attach
2021-06-18 09:24:02 +10:00
ray-x
c818a97136
gopls default setup
2021-06-18 08:50:49 +10:00
ray-x
713dd7eeab
Highlight for preview
2021-06-18 08:27:58 +10:00
ray-x
72ecc85842
add rename
2021-06-18 01:39:41 +10:00
ray-x
b56ca88390
add debounce setup in lsp
2021-06-18 00:49:13 +10:00
Mateus B. Melchiades
a955e07992
Symbols aggregated in config ( #15 )
2021-06-16 06:46:04 +10:00
ray-x
807f41975e
add floating windows edit option
2021-06-13 14:03:01 +10:00
ray-x
53f384ba46
Add autocommand group to prevent evnet pile-up
2021-06-12 12:15:16 +10:00
ray-x
6c9ce98d03
Update kemap document
2021-06-11 21:33:22 +10:00
ray-x
f813aa97db
Bugfix: truncate file path in treesitter buffers symbols, update doc for key mapping
2021-06-10 22:12:25 +10:00
ray-x
8b84a0e3aa
Bugfix: window path, !=, ~= for lhs
2021-06-10 20:08:52 +10:00
ray-x
4ad8fa3e95
Clean up space pad for reference listview
2021-06-10 06:39:37 +10:00
ray-x
09667c32a9
gopls on_attach does not trigger on every open buffer, need keymap for all buffers
2021-06-09 20:51:38 +10:00
ray-x
2d7214d875
bugfix: mapping setup
2021-06-09 13:43:14 +10:00
ray-x
d8385f2993
change sumneko setup, move it to lsp section
2021-06-09 08:34:36 +10:00
ray-x
624053bd8f
Update aligement
2021-06-08 16:41:34 +10:00
ray-x
2221cf5544
allow override for lsp config
2021-06-08 01:23:20 +10:00
ray-x
c872b43faf
treesitter function definition
2021-06-05 08:33:23 +10:00
ray-x
8d75a1498a
bugfix: fname->filename; allow treesitter work without LSP
2021-06-03 01:25:56 +10:00
ray-x
9788bbaf54
using open_floating_preview API as focus preview deprecated
2021-05-30 12:25:05 +10:00
ray-x
6a15e6838d
add multiple symbol highlight
2021-05-29 21:08:30 +10:00
ray-x
1546b6a604
Allow disable all keymaps
2021-05-28 10:10:28 +10:00
ray-x
fe65abed35
allow change log level to trace from config
2021-05-27 11:10:32 +10:00
ray-x
41a43eaf64
Bugfix lhs ==
2021-05-27 08:36:10 +10:00
ray-x
b61e280400
truncate filepath
2021-05-26 22:15:32 +10:00
ray-x
7e8c3376f4
LSP reference and write color optimize
2021-05-24 20:20:28 +10:00
ray-x
6bf9a5990b
update doc highlight, it did not work well for dracula
2021-05-24 07:19:56 +10:00
ray-x
8c055b7b03
Updata on_attach logic, allow lsp specific on_attach as well as generic
...
on_attach. Document updates
2021-05-23 14:10:49 +10:00
ray-x
7c6c37d169
fix treesitter defination lookup for go
2021-05-23 00:03:34 +10:00
ray-x
f430fdfbb9
treesitter symboles display: remove trailing bracket
2021-05-22 19:49:01 +10:00
ray-x
88ac6268cf
improve lsp loading and prevent muliple loading
2021-05-22 19:03:55 +10:00
ray-x
4e748eccab
fix treesitter for C++. Add variable defination(C++, Go)
2021-05-22 15:34:46 +10:00
ray-x
fc37a3f9a2
bug fix and add error logs
2021-05-22 10:54:10 +10:00
ray-x
777acc4b92
merge treesitter branch. Improve reference search with treesitter scope. Better highlight in reference search result
2021-05-21 21:39:46 +10:00
ray-x
7351a65917
Update treesitter adding arrow function and function types for
...
treesitter
2021-05-17 13:15:15 +10:00
ray-x
dc309fdad2
treesitter display improvement
2021-05-15 11:11:20 +10:00
ray-x
bd0d892f22
lua-format
2021-05-14 19:33:12 +10:00
ray-x
ab7c79ff0b
disable diagnostic when insert
2021-05-14 19:23:57 +10:00
ray-x
077f8080e7
check cap for incomming and out-going
2021-05-14 19:10:13 +10:00
ray-x
8c31546892
reference jump to word
2021-05-10 23:17:47 +10:00
ray-x
b23c31735c
bugfix treesitter typo, clap buf_input disable
2021-05-10 22:17:30 +10:00
ray-x
f9794ab058
use packer to load plugins
2021-05-10 09:58:13 +10:00
ray-x
7aea58acdd
update rust analyzer setup
2021-05-10 00:12:45 +10:00
ray-x
1275a8adc7
change api from loop.timer to vim.wait
2021-05-08 22:33:17 +10:00
ray-x
fc759b4e8a
document symbol jump
2021-05-08 14:54:37 +10:00
ray-x
554b546a67
pyright update
2021-05-06 06:09:54 +10:00
ray-x
74cbed573b
refact lspclient
2021-05-05 21:37:55 +10:00
ray-x
5b81df0a04
A few lsp clients with default setup
2021-05-05 10:47:26 +10:00
ray-x
69565e38d3
add ccls support
2021-05-05 10:23:40 +10:00
ray-x
4a58870a28
better autoload, prevent multiple loading for same lsp server
2021-05-04 23:20:43 +10:00
ray-x
14886706db
lazy plugin loading and autocmd to load the plugin
2021-05-04 21:09:38 +10:00
ray-x
40c2144b98
ft check when client loading
2021-05-04 08:27:49 +10:00
ray-x
9dd9f7a6e1
update lsp client hook, lua lint
2021-05-03 20:45:51 +10:00
ray-x
08b4fa50c0
update debug level
2021-05-02 23:59:49 +10:00
ray-x
acdd4107a2
pyright setup, rust setup
2021-05-02 23:55:19 +10:00
ray-x
56d891876c
pyright setup, rust setup
2021-05-02 23:54:30 +10:00