Commit Graph

205 Commits

Author SHA1 Message Date
ray-x
ed834ecf0d diagnostic fix for #86 2021-10-11 11:26:40 +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
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
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
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