Commit Graph

463 Commits

Author SHA1 Message Date
ray-x
3e03e37d9f update terraform setup 2022-03-04 17:25:27 +11:00
ray-x
5773f66d14 terraform updates 2022-03-04 17:20:03 +11:00
ray-x
74eccbd799 Merge branch 'master' into neovim_0.7 2022-03-01 21:42:06 +11:00
ray-x
0346fc3c0f hash key update 2022-03-01 21:41:52 +11:00
ray-x
b2d846647b Merge branch 'master' into neovim_0.7 2022-02-26 19:27:06 +11:00
ray-x
cfe8738ad5 disable filetype 'gitcommit' 2022-02-26 19:25:40 +11:00
ray-x
982fe81922 Merge branch 'master' into neovim_0.7 2022-02-26 19:01:36 +11:00
ray-x
d024335c91 update client loading 2022-02-26 19:01:12 +11:00
ray-x
41593cb7e4 remove json from auto highlight autocmd 2022-02-26 18:06:36 +11:00
ray-x
429cd16292 remove json from highlight autocmd 2022-02-26 18:05:50 +11:00
ray-x
2c7334e1b6 Merge branch 'master' into neovim_0.7 2022-02-24 19:08:41 +11:00
ray-x
3adbbaf509 remove terraform from auto highlight 2022-02-24 19:07:57 +11:00
ray-x
ff8ae83300 reverse sort lsp actions 2022-02-24 19:03:28 +11:00
Joseph DelCioppio
b10964e5a2
Add support for ELixir LS (#149) 2022-02-23 02:55:47 +11:00
ray-x
e4b2fc0afe merge master 2022-02-22 19:41:21 +11:00
ray-x
2e43b8ee0a merge master 2022-02-21 15:22:05 +11:00
ray-x
2232317b0a combine on_attach 2022-02-21 14:57:36 +11:00
ray-x
ff57a1f916 force keymap to be loaded when on_attach is not called it may releated to #130 2022-02-21 11:42:24 +11:00
ray-x
f0c5610a1f merge master 2022-02-19 14:59:31 +11:00
ray-x
c7872c83a8 merge master 2022-02-19 10:55:09 +11:00
ray-x
bf2e867354 lint 2022-02-19 10:51:27 +11:00
ray-x
11d25933ad move capabilities checn around 2022-02-18 13:30:02 +11:00
ray-x
8e9bf39f13 allow config lsp with function 2022-02-18 08:37:05 +11:00
ray-x
ccb1bac250 lazy load with func for client config 2022-02-18 08:34:48 +11:00
ray-x
62477b294e drop neovim 0.5 deprecated API 2022-02-17 22:21:34 +11:00
ray-x
c03cbca758 update keymaps for gd 2022-02-17 14:54:52 +11:00
ray-x
2d5290d3d6 gd keymaps 2022-02-16 22:50:06 +11:00
David de Rosier
dcabc38a12
Fixes problem with disabling icons not working (#142) (#143) 2022-02-01 09:56:32 +11:00
ray-x
c9f34ac179 check doc highlight 2022-01-31 23:30:59 +11:00
ray-x
2344a9d611 override cfg.cmd setting only when installer is used and no valid cmd is provided 2022-01-19 11:13:37 +11:00
ray-x
1f3ae4a675 update readme of log path, remove lspinstaller logs 2022-01-19 08:02:33 +11:00
ray-x
45e0698d00 issue #137 lspinstaller API changed 2022-01-19 03:32:56 +11:00
ray-x
5b2e003258 disable trace 2022-01-18 17:14:47 +11:00
ray-x
72ed02f879 locations_to_items offset_encoding 2022-01-18 16:25:48 +11:00
ray-x
92296c9fc8 dochl client offset encoding 2022-01-17 16:16:31 +11:00
ray-x
96885ae509 add log message when bufnr is not provided 2022-01-17 16:08:18 +11:00
ray-x
4ca6b376a7 breaking changes: https://github.com/neovim/neovim/issues/14090, issue #136 2022-01-17 16:03:48 +11:00
ray-x
da9448a88c neovim breaking changes: offset_encoding 2022-01-16 15:36:28 +11:00
ray-x
3bc154bbb3 issue #135 bugfix 2022-01-14 10:36:54 +11:00
ray-x
e80f004f5b issue #133 change gT map to <Leader>gt 2022-01-12 20:12:51 +11:00
ray-x
73dfd12f0f async handler check status before close 2022-01-10 01:52:32 +11:00
ray-x
bad19ebc84 lsp_signature setup was not documented in README. Add playground folder 2022-01-09 22:31:43 +11:00
ray-x
4144024068 allow to config when will the fuzzy finder prompt to be shown 2022-01-08 22:47:43 +11:00
ray-x
a0679626e2 cleanup code 2022-01-06 22:06:40 +11:00
ray-x
1202df85cd update notify message when symbol not found #126 2022-01-06 15:37:37 +11:00
ray-x
b89811b1b6 bugfix issue #126 2022-01-04 14:38:09 +11:00
ray-x
c3f6b14233 #124 viewctlobject error 2021-12-30 16:05:25 +11:00
ray-x
23090c567c updates vim.notify 2021-12-29 15:50:41 +11:00
ray-x
aa9b80e848 empty func 2021-12-29 15:28:34 +11:00
ray-x
19969e3902 keymap bugfix #119 2021-12-25 12:43:40 +11:00
ray-x
47bcf183b8 nil check 2021-12-24 17:48:54 +11:00
ray-x
abf5de64fd update gui for workspace symbol 2021-12-24 17:30:56 +11:00
ray-x
873135bf9a lsp def and lsp ref with async request 2021-12-23 19:17:48 +11:00
ray-x
c528b58bb9 replace print to notify, add workspace gui 2021-12-23 16:37:39 +11:00
ray-x
85d907ffaf add lspkeymaphelp command to show the current keymapping 2021-12-19 13:16:17 +11:00
ray-x
5ab4dffba5 add gohtmltmpl in default setup 2021-12-18 15:23:34 +11:00
ray-x
e869cedba3 cleanup 2021-12-17 09:09:25 +11:00
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
2021-12-17 08:54:36 +11:00
ray-x
4b1670423e issue #116 nil client 2021-12-16 12:41:42 +11:00
ray-x
5c13477220 dochighlight update 2021-12-14 07:12:20 +11:00
ray-x
1c67e790eb remove duplicated codes 2021-12-13 17:43:51 +11:00
ray-x
3c9ee3785c omnisharp default setup 2021-12-13 16:03:08 +11:00
ray-x
65701259c1 simplify gui; dochighlight 2021-12-13 10:42:53 +11:00
ray-x
73f0041dc1 bugfix #115 incorrect bufnr 2021-12-11 14:27:01 +11:00
ray-x
ce3c5fe2cb fix the referece floatwindow loading performance issue 2021-12-08 08:05:49 +11:00
ray-x
2f44f0115a add servers options for #109 2021-11-26 18:26:30 +11:00
ray-x
9aec552ac1 Add warning messages if the user setup maybe deprecated or incorrect 2021-11-26 12:24:27 +11:00
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
2021-11-26 09:37:50 +11:00
Loreo13
c85fcb202f
Add support for clojure_lsp (#107)
* Add support for clojure_lsp

* Show clojure_lsp is supported in README.MD
2021-11-26 08:54:11 +11:00
ray-x
cdee0ec57b bugfix #105 2021-11-25 20:10:59 +11:00
ray-x
83b66dbea1 Add error check for config, Allow show additional info for diagnostic 2021-11-25 13:13:15 +11:00
ray-x
49fb9032d8 bugfix clangd #102 buffer not loaded empty diagnostic info 2021-11-25 02:08:25 +11:00
ray-x
388711d97d issue #101 disable diagnostic_scrollbar 2021-11-22 01:32:45 +11:00
ray-x
0b2e66fa98 disable packer filetype as default 2021-11-17 11:22:58 +11:00
ray-x
99b7b1c502 issue #99 add texlab 2021-11-13 14:35:58 +11:00
ray-x
db09db7ef3 neovim 0.6 update for highlight 2021-11-12 20:06:47 +11:00
ray-x
342a429485 update disable filetype and README 2021-11-06 12:21:20 +11:00
ray-x
04cfdbd4d2 rls symbol 2021-11-06 10:21:57 +11:00
ray-x
04d8e71008 add setup option 2021-11-05 12:34:04 +11:00
ray-x
a6f668e05f preselect 1st item in code action. lsp_signature hook 2021-11-05 12:33:40 +11:00
ray-x
f43b0aba0e add diagnostic toggle, adjust width of preview window 2021-11-04 11:08:22 +11:00
ray-x
5a84868481 using client number in code action 2021-11-03 15:00:30 +11:00
ray-x
427007ee9b bugfix issue #97 2021-11-03 10:35:09 +11:00
ray-x
262181246d update symbol preview with treesitter scope 2021-11-02 20:16:16 +11:00
TANIGUCHI Masaya
d9fb882e98
Add markdown (#96) 2021-11-01 15:45:39 +11:00
ray-x
622804e674 client load table on filetype detected 2021-10-28 15:35:30 +11:00
ray-x
c9514dffe9 support for lsp-installer (deprecate lsp-installer) issue #90 2021-10-24 12:37:09 +11:00
ray-x
c890f3818d Merge branch 'nvim-lsp-installer' 2021-10-24 12:34:26 +11:00
ray-x
74ea1ddd73 document update 2021-10-24 12:30:52 +11:00
ray-x
062e7e4ffc document save & fmt aucmd 2021-10-20 11:22:41 +11:00
ray-x
fab08151e6 refactor diagnostic https://github.com/neovim/neovim/pull/16057 2021-10-20 10:08:59 +11:00
ray-x
0c0801c92d fix for issue #92 default_mapping=false 2021-10-19 10:04:14 +11:00
ray-x
5083b07972 setup with lsp installer 2021-10-18 13:15:17 +11:00
ray-x
b936cbb48d updates for lsp-installer 2021-10-18 11:56:39 +11:00
ray-x
87f4c2b664 deprecate lspinstall in faviour of lsp_installer 2021-10-18 10:46:21 +11:00
ray-x
7514301d80 bugfix issue #91 return if no result returns 2021-10-17 17:36:07 +11:00
ray-x
d6b81ba8ab bug fix #91 outgoing_calls failure for pyright 2021-10-17 15:29:17 +11:00
ray-x
36c01adc2d buffer lsp reference highlight #88 2021-10-15 14:28:28 +11:00
ray-x
0a5db66968 format per buffer setup 2021-10-14 14:55:40 +11:00
ray-x
c4bfcabd64 merge lsp_request check lsp cap before sending lsp request to client 2021-10-13 20:27:46 +11:00
ray-x
36683e3646 remove logs and update golang version 2021-10-11 16:28:49 +11:00
ray-x
ed834ecf0d diagnostic fix for #86 2021-10-11 11:26:40 +11:00
ray-x
1b3ba27403 bugfix start warning code action 2021-10-08 16:02:13 +11:00
ray-x
b521c2e7bb update code_action/code_lens_action config. Move to lsp section 2021-10-08 14:38:47 +11:00
ray-x
d932978441 update code lens action icon 2021-10-08 14:20:56 +11:00
ray-x
89b08bc968 svelte, codeaction remove empty, luadev #72 2021-10-06 10:57:03 +11:00
ray-x
a952d694e1 lazyload for lua-dev 2021-10-05 17:53:53 +11:00
ray-x
1f3680d4b1 bugfix for codeAction newText 2021-10-05 14:00:54 +11:00
ray-x
faab21a1a7 issue #82 2021-10-05 09:56:23 +11:00
ray-x
c08cbdda89 lazy load for lua-dev 2021-10-05 09:48:46 +11:00
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
2021-10-01 18:53:52 +10:00
ray-x
74af2c1a72 add svelteserver 2021-10-01 18:51:46 +10:00
ray-x
892804d51e update code action details 2021-10-01 02:41:00 +10:00
ray-x
00a015e27a action command 2021-09-30 21:29:06 +10:00
ray-x
c55729e879 update codeaction 2021-09-30 21:10:35 +10:00
ray-x
687f78db5b timer of filetype detect to 500 2021-09-28 10:21:03 +10:00
ray-x
1ba70b81d5 lazyload lua-dev #72 2021-09-28 08:24:22 +10:00
ray-x
4e69764a52 defer format update 2021-09-27 10:55:43 +10:00
ray-x
9460b82d05 Merge branch 'master' into multi_loading 2021-09-27 10:44:11 +10:00
ray-x
d793df9b42 remove logs 2021-09-27 10:25:40 +10:00
ray-x
2afd51ae11 incoming_calls and outgoing_calls cause errors when results from LSP server have multiple lines #78 2021-09-24 16:46:17 +10:00
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