Commit graph

148 commits

Author SHA1 Message Date
Abouzar Parvan
91ac8a0bb0
fix(luadev): this plugin has been renamed (#3235) 2022-10-15 10:21:24 +03:30
Abouzar Parvan
91dadd46a9
fix(lua-dev): make sure we are loading the correct types (#3208) 2022-10-12 16:16:53 +03:30
opalmay
5a4c8e3eec
fix: always use border for lsp hover (#3160) 2022-10-06 10:11:37 -04:00
kylo252
9def60f1dd
feat: lock new installations to nvim 0.8+ (#3111) 2022-10-06 06:55:06 +00:00
Philippe Richard
8767a17b5e
feat: move icons to a single icons file (#3115) 2022-10-02 23:48:23 -04:00
chaesngmin
6a72ad281e
Fix: correct typos (#3117) 2022-10-03 01:19:59 +00:00
Christian Chiarulli
1c03ac8052
feat: reload and lir color update (#3123) 2022-10-03 00:56:23 +00:00
Daniel Rodríguez Rivero
f4032cc43e
chore(lsp): give null-ls setup default values (#3093) 2022-09-28 13:54:12 -04:00
github-actions[bot]
d37fdc5cf2
chore: bump plugins version (#2988)
* chore: bump plugins version

* chore(plugins): update

* chore(plugins): ignore solc

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Abouzar Parvan <abzcoding@users.noreply.github.com>
2022-09-27 17:14:19 +03:30
Abouzar Parvan
518b1d4167
Fix: make sure latest plugins are customizable (#3044)
* fix: make navim-navic configurable

* fix: make sure vim-illuminate is configurable

* fix: make sure theme is configurable

* fix(ci): don't verify uninstalled plugins

* refactor(lsp): add setup_document_symbols util

* revert: keep onedarker on freeze branch

* refactor(lsp): avoid duplicate hl autocmds

Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com>
2022-09-20 14:11:58 +04:30
Christian Chiarulli
f11909b564
feat: breadcrumbs (#3043) 2022-09-19 22:14:32 -04:00
Christian Chiarulli
352147158b
feat(document highlight): use illuminate rather than autocommand to avoid flashing (#3029) 2022-09-19 13:12:52 -04:00
kylo252
68fdbaa51d
fix(lsp): enforce lvim completion for lua-server (#3035) 2022-09-19 13:10:07 +02:00
Christian Chiarulli
a4c2dc4d0b
refactor: small improvements (#3021) 2022-09-15 23:33:08 -04:00
lvimuser
564cfe8f3c
fix(lsp/utils): do not register duplicate autocommands (#3004) 2022-09-15 12:13:46 +02:00
kylo252
7535f4eff9
fix(plugins): handle deprecated options (#3014) 2022-09-12 18:41:25 +02:00
lvimuser
ce621c1cfe
chore: remove unnecessary code (#2923) 2022-08-29 14:47:21 +02:00
Daniel Rodríguez Rivero
537a192179
fix(lsp): pass name arg to should_auto_install (#2958) 2022-08-29 14:04:46 +02:00
Akihiro Okuno
d259efd40b
fix(statusline): display null-ls linters properly (#2921) 2022-08-19 11:50:52 +02:00
kylo252
2e4620cb4f
fix(lsp): return the actual resolved mason-config (#2889) 2022-08-09 16:11:45 +02:00
lvimuser
67366cdf89
feat(lvim/lsp): enable tailwindcss by default (#2870) 2022-08-09 13:27:47 +02:00
kylo252
eefde00ae8
refactor!: migrate to mason.nvim (#2880) 2022-08-09 10:41:17 +02:00
lvimuser
b8f681374b
fix(lvim/lsp/manager): make client_is_configured more reliable (#2851) 2022-07-31 16:51:12 +02:00
kylo252
dec21bbab6
feat(lsp): bind formatexpr and omnifunc by default (#2865) 2022-07-31 14:27:59 +02:00
kylo252
6d43a79464
refactor(whichkey): use vim.keymap.set directly (#2786) 2022-07-04 19:26:33 +02:00
kylo252
efe7eea195
fix(lsp): update format filter for nightly (#2773) 2022-07-02 09:36:11 +02:00
kylo252
a99894b2c8
feat(lsp): add option to override nlsp-settings (#2769) 2022-06-27 19:18:20 +02:00
CPea
c6431a09c7
feat(lsp): add option to override default nvim-lsp-installer settings (#2698) 2022-06-26 14:08:54 +02:00
CPea
16c0c86284
chore(lsp): notify format request failed once when there is no client (#2697) 2022-06-23 10:29:30 +04:30
kylo252
1d1f7bac65
fix: skip calling nvim-tree.setup() more than once (#2707) 2022-06-11 17:46:37 +02:00
kylo252
23df368b00
refactor: load the default options once (#2592)
BREAKING CHANGE: modifying the default options for keymaps and autocmds
is now done by overwriting them, since they won't be loaded into the
global `lvim` table anymore

* refactor: use the lua-commands api
* refactor!: use the lua-autocmds api
* fix(settings): let neovim handle spellfile
* feat: add log:set_log_level()
* chore: update examples
* chore: add deprecation notice for custom_groups
2022-05-21 16:48:47 +02:00
kylo252
a2714c3c38
fix(autocmds): disable commentstring_calc on cursor-hold (#2581) 2022-05-11 17:15:00 +02:00
Abouzar Parvan
b060827518
feat(codelens): cursorhold is too much intrusive for codelens (#2600) 2022-05-11 19:01:04 +04:30
Abouzar Parvan
f7ba2c8902
fix(autocmds): make sure we are using codelens correctly (#2576) 2022-05-06 11:42:55 +02:00
kylo252
cfa702e6fe
refactor: use api-autocmds for lsp functions (#2549)
* refactor: use api-autocmds for lsp functions

* chore: use the existing client.supports_method api

* fix: a callback in an autocmd doesn't pass nil

* revert: keep changes minimal to which-key

Co-authored-by: Abouzar Parvan <abzcoding@users.noreply.github.com>
2022-05-03 03:40:51 +04:30
kylo252
e4287b7180
fix(lsp): undo stdpath overload to avoid datarace (#2540) 2022-04-29 16:26:15 +02:00
Abouzar Parvan
6a66e39f29
feat(icons): make it possible to disable icons (#2529) 2022-04-28 19:00:39 +04:30
kylo252
dd65e28565
refactor(lsp): decouple the installer setup-hook (#2536)
* chore(lsp): update plugins

* refactor(lsp): decouple the installer setup-hook

- remove the deprecated `server:setup()`
- set up the server manually with lspconfig once `server:on_ready()`
has been triggered

* chore: use the new lsp_installer.setup()
2022-04-28 14:38:32 +02:00
Abouzar Parvan
8fdd4b46e8
feat(peek): make sure max width and height are customizable (#2492) 2022-04-22 15:11:21 +04:30
kylo252
0481ec8ddd
refactor: update impatient (#2477) 2022-04-20 13:22:26 +02:00
kylo252
198577aa75
refactor(lsp): cleanup servers' override configuration (#2243)
* refactor(lsp): cleanup override settings

- rename lsp.override to lsp.automatic_configuration.ignored_servers
- add lsp.automatic_configuration.ignored_filetypes

* chore(info): update override section

* refactor(lsp): rename ignored to skipped

* fix: better deprecation handling

* docs(lsp): add example for (un-)skipping servers

* refactor(lsp): allow installing overridden servers

* docs(lsp): update config_win.example.lua as well

* chore(lsp): update skipped_servers list

* fix(logger): less noise from client_is_configured
2022-04-14 23:17:22 +04:30
xeluxee
4d1cfc4687
[Feature] Add option to set maximum cmp menu width (#2425) 2022-04-07 22:48:32 +04:30
kylo252
fa710f6ddd
refactor: re-enable packer.sync() in LvimReload (#2410) 2022-04-03 14:32:52 +02:00
steven_j
7807f147c1
refactor(lsp): replace deprecated ocamllsp with ocamlls (#2402)
Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com>
2022-03-28 08:59:33 +02:00
Abouzar Parvan
cf96211cf5
fix(peek): print error if lsp is unable to get file contents (#2379)
* fix(peek): print error if lsp is unable to get file contents

* fix(peek): replace print with vim.notify
2022-03-22 19:47:19 +04:30
Abouzar Parvan
4affc21771
fix(peek): make sure popup_options are positive (#2373) 2022-03-21 16:04:48 +03:30
Abouzar Parvan
a5e5b50bc4
chore(plugins): last manual plugin update (#2347) 2022-03-12 14:02:51 +03:30
Daniel You
36ffc33b45
feat: enable nlsp-settings schemas (#2322) 2022-03-04 15:41:03 +03:30
Abouzar Parvan
ffcfdf4306
refactor(nvim-tree): update settings structure (#2304) 2022-02-23 14:29:09 +03:30
Abouzar Parvan
0536775c8b
fix(timeoutlen): this has caused way too many issues in the past (#2287) 2022-02-16 13:01:06 +03:30
Abouzar Parvan
de3909fac9
chore(plugins): bump version (#2261) 2022-02-09 14:20:47 +03:30
Abouzar Parvan
9eb8479b39
chore(plugins): bump version (#2253) 2022-02-06 13:40:03 +03:30
Abouzar Parvan
1436d9090a
feat: use schemastore.nvim to provide extended json schema support (#2239) 2022-02-03 11:25:25 +03:30
Abouzar Parvan
ff9ae8fdc1
feat(vue): set volar as default language server instead of vuels (#2230) 2022-01-30 23:21:58 +03:30
Alexey Svirschevskiy
0a28cdf9d6
fix(lsp): avoid accessing undefined user_data (#2216)
Co-authored-by: Alexey Svirshchevskiy <alexey.svirshchevskiy@sitoo.com>
2022-01-26 21:45:42 +03:30
Abouzar Parvan
6cd282ac52
chore(plugins): bump plugin version, also fix for offset_encoding (#2210) 2022-01-24 15:20:04 +03:30
kylo252
626343c2de
fix(lsp): use temporary fork of lua-dev (#2187) 2022-01-16 20:32:39 +01:00
kylo252
19f0c8ccfa
fix(diag): show lsp-diag code in open_float (#2180) 2022-01-15 12:32:06 +01:00
kylo252
e9caf5a69a
fix(lsp): no need to stop clients on LvimReload (#2160) 2022-01-10 15:48:05 +01:00
kylo252
ec1e4140fa
fix(install): avoid data-races for on_packer_complete (#2157) 2022-01-10 09:54:47 +01:00
kylo252
fc043d738b
feat(info): display overridden servers for filetype (#2155) 2022-01-08 14:36:56 +01:00
kylo252
4a66d4752d
fix(null-ls): avoid sending invalid opts.args (#2154) 2022-01-08 14:24:05 +01:00
kylo252
8fd71b5084
refactor(null-ls): allow passing full list of options for sources (#2137) 2022-01-06 11:37:49 +01:00
CPea
a1557d65de
fix(lsp): formatter now use new null-ls api function (#2135) 2022-01-04 12:14:54 +03:30
kylo252
eefc148313
refactor(bootstrap): more robust git module (#2127) 2022-01-03 11:07:34 +01:00
kylo252
238e43e5b3
refactor: more consistent autocmds (#2133) 2022-01-03 11:06:45 +01:00
kylo252
91077623f0
refactor(info): use new null-ls api for sources (#2125) 2022-01-01 14:25:23 +01:00
Jieru Mei
53427670d1
feat(luadev): better vim api completion (#2043) 2021-12-28 10:02:26 +01:00
Abouzar Parvan
655fd1b0ca
refactor: uplift neovim's minimum version requirement to 0.6.0 (#2093)
Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com>
2021-12-23 10:33:20 +01:00
kylo252
5593499828
fix(lsp): set the handlers opts for v0.6 as well (#2109) 2021-12-23 10:03:15 +01:00
kylo252
5e44e6d59b
chore: core plugins version bump (#2103) 2021-12-21 09:09:03 +01:00
kylo252
f1ca79e628
refactor: remove unused old language configs (#2094) 2021-12-20 08:59:47 +01:00
kylo252
683a89b543
fix(lsp): allow overriding servers with custom providers (#2070) 2021-12-13 17:34:22 +01:00
edag94
be4b025f92
feat: update lsp-installer and lspconfig hashes to enable solidity_ls language server (#2072)
Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com>
2021-12-13 17:33:18 +01:00
kylo252
8ffbe596c0
fix(lsp): correct client_id parsing in lvim-info (#2071) 2021-12-12 19:43:35 +01:00
Abouzar Parvan
cbb94752ae
feat: bump plugin versions (#2064)
Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com>
2021-12-11 09:46:36 +01:00
kylo252
307db8936b
feat: multiple enhancements to lvim-reload (#2054) 2021-12-09 17:08:53 +01:00
kylo252
e4752692e5
fix(lsp): prevent repeated setup call (#2048)
Check if the manager `autocomd` has already been configured,
since some servers can take a while to initialize.
2021-12-08 08:15:56 +01:00
kylo252
6770808bec
feat: full compatibility with neovim v0.6 (#2037) 2021-12-06 17:04:46 +01:00
Jieru Mei
f3cd608d17
feat: null-ls code_actions interface (#2008) 2021-12-02 10:31:45 +01:00
kylo252
3cae67b08b
chore: bump core-plugins' version (#2018) 2021-12-01 19:02:06 +01:00
kylo252
07bcae45fd
fix(lsp): avoid installing an overridden server (#1981) 2021-11-22 08:32:40 +01:00
kylo252
109c766809
fix(null-ls): allow the same linter and formatter (#1968) 2021-11-21 12:29:07 +01:00
Christian Chiarulli
abc9f2764d
feat: support new null-ls (#1955) 2021-11-16 14:55:45 +00:00
kylo252
b0a9ee720a
refactor: more configurable format-on-save (#1937) 2021-11-14 13:44:00 +01:00
Chase Colman
e42581c219 fix(lsp): correct map and prevent highlight leak of diagnostic signs in 0.6 (#1934) 2021-11-10 11:09:44 +01:00
kylo252
1ea5361475 fix(ci): blacklist 'sorbet' (#1936) 2021-11-10 11:09:44 +01:00
ChristianChiarulli
5e9b1c817f fix: dedupe linting messages 2021-11-07 12:13:45 -05:00
kylo252
4207e67640
chore: sort supported providers alphabetically (#1916) 2021-11-06 13:18:59 +01:00
kylo252
e79b6bf8aa
refactor: deprecate lvim.lang.FOO (#1913)
Consolidate configuration styles for linters and formatters

Fixes #1756
2021-11-06 08:23:59 +00:00
kylo252
e8693406ba
perf(lsp): use the new upstream API for filetypes (#1836) 2021-10-31 16:23:44 +01:00
kylo252
95d8127f31
fix(lsp): avoid data-race on server:install() (#1863) 2021-10-30 20:39:53 +02:00
Chase Colman
6b8ef55e3d fix(lsp): install templates and configure overrides for custom providers 2021-10-28 21:15:49 +08:00
kylo252
620beb5c94
fix(lsp): disable eslint server by default (#1842) 2021-10-24 14:34:00 +02:00
kylo252
3dd60bd3d4
fix(lsp): template generator now uses lsp.override (#1813) 2021-10-23 18:12:11 +02:00
kylo252
03e5760e59
fix(formatters): always select null-ls by default (#1810) 2021-10-20 20:01:51 +02:00
kylo252
f87416c141
fix(null-ls): add common lsp-setup hooks (#1763) 2021-10-14 18:58:56 +02:00
kylo252
52b7455741
feat: add an independent lvim namespace (#1699) 2021-10-10 21:07:41 +02:00