Commit graph

58 commits

Author SHA1 Message Date
Ahmed W
7cac6f064c
feat(null-ls)!: use none-ls instead of null-ls (#1517)
* FEATURE: use none-ls instead of null-ls

Fixes #1516

* fix(none-ls): automatically migrate null-ls to none-ls

* feat(config): show warning if user config contains renamed references

---------

Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2023-09-29 11:52:45 +02:00
Folke Lemaitre
fa6cbfc602
fix(lsp): don't install jsonls by default. It's part of the json extra 2023-09-28 11:33:45 +02:00
Zhizhen He
64c5848fe8
style: fix comment typo (#1336) 2023-08-29 18:02:45 +02:00
Maria José Solano
9a0543531d
fix(lsp): supports_method for checking inlay hint support (#1195) 2023-07-23 18:09:48 +02:00
Folke Lemaitre
b4b27e867c
fix(mason): add MasonUpdate to build 2023-07-16 10:42:14 +02:00
Folke Lemaitre
9e8ce289d1
fix(neoconf): do neoconf setup in lspconfig setup. Fixes #1070 2023-07-12 20:01:43 +02:00
暮晨
3f68f44d72
fix(lsp-config): lsp-config error when nvim-cmp not enabled. (#1095)
* fix(lsp-config): lsp-config error when nvim-cmp not enabled.

* Update lua/lazyvim/plugins/lsp/init.lua

Co-authored-by: Jonas Holst Damtoft <Jomik@users.noreply.github.com>

---------

Co-authored-by: Jonas Holst Damtoft <Jomik@users.noreply.github.com>
2023-07-12 16:34:07 +02:00
Folke Lemaitre
a981682603
fix(lsp): update keymaps *after* registering capabilities 2023-07-02 17:37:13 +02:00
Folke Lemaitre
61e3ce8cdc
feat(lsp): custom lsp keymaps 2023-07-02 12:44:54 +02:00
Folke Lemaitre
d0bc8b7dce
feat(lsp): added support to lsp keymaps for dynamic capabilities 2023-07-02 12:42:35 +02:00
Folke Lemaitre
089606b48d
fix(lsp): upstream inlay_hint rename 2023-06-30 20:44:39 +02:00
Folke Lemaitre
01c7eeebd0
feat: added support for the new builtin inlay hints
Enable with:
```lua
{"neovim/nvim-lspconfig", opts = {inlay_hints = {enabled = true}}}
```
2023-06-21 08:01:59 +02:00
Folke Lemaitre
5eccaeb992
feat(lsp): added nvim-lspconfig.opts.format_notify. Enable this to debug formatter issues. 2023-05-26 10:51:07 +02:00
Folke Lemaitre
962fc6bab4
feat(lsp): added support for upcoming dynamic registration of formatters 2023-05-26 10:50:16 +02:00
Folke Lemaitre
4f2bb725be
refactor(mason): use new handlers opt 2023-05-25 14:24:29 +02:00
Folke Lemaitre
df6a0d3b10
style: removed deprecated option from neodev 2023-05-22 16:39:09 +02:00
Folke Lemaitre
d565684ade
feat(lsp): automatically resolve denols/tsserver conflicts if both are configured 2023-04-23 11:01:46 +02:00
Folke Lemaitre
ac1051686b
feat(lsp): added support for setting global lsp client capabilities 2023-04-19 19:58:05 +02:00
Folke Lemaitre
1caa27ba4a
fix(diagnostics): deepcopy diagnostic params. Fixes #621 2023-04-19 07:49:39 +02:00
Folke Lemaitre
17fe32e428
fix(lsp): properly check that diagnostics virtual_text is a table. Fixes #618 2023-04-19 07:21:52 +02:00
Folke Lemaitre
01a1b8e80d
feat(diagnostics): added support for setting prefix = "icons". Check the docs on how to enable 2023-04-18 20:00:02 +02:00
Folke Lemaitre
06c38c52a9
feat(diagnostics): show diagnostics source when more than one source is reporting diagnostics 2023-04-18 19:59:19 +02:00
Folke Lemaitre
381ee0a9fc
fix(mason): removed flake8. You can add it back in your own configs if you need it or add ruff_lsp 2023-03-23 08:00:24 +01:00
Folke Lemaitre
df5cbfdbec
feat(mason): compatibility with the new mason registry 2023-03-20 19:56:34 +01:00
Folke Lemaitre
c10e550639
feat(lsp): make lsp work when mason-lspconfig is disabled. Fixed #445 2023-03-17 08:04:17 +01:00
Folke Lemaitre
5aad5749a7
feat(null-ls): added .neoconf.json to null-ls root_dir 2023-03-10 08:44:17 +01:00
Folke Lemaitre
8f3834bc13
feat(null-ls): added fish_indent and fish diag 2023-03-06 07:37:37 +01:00
Folke Lemaitre
c407ddfe8a
feat(shfmt): added shfmt to null-ls and mason 2023-03-06 07:37:37 +01:00
Folke Lemaitre
e7a515e548
fix(mason): removed installing of shellcheck and shfmt. Use bashls instead 2023-03-05 09:12:16 +01:00
Folke Lemaitre
543126818e
fix(lsp): temp mason fix for sumenko_lua -> lua_ls rename. See #248 2023-02-12 10:59:58 +01:00
Zhizhen He
57e92b04e2
style: fix comment typo (#243) 2023-02-11 17:10:39 +01:00
Folke Lemaitre
5f5a564a82
fix(plugins): lazy-loading on BufReadPre or BufReadPost, should also use BufNewFile. Fixes #169 2023-02-07 21:59:33 +01:00
Folke Lemaitre
826655b901
fix(lsp): properly merge lsp client capabilities 2023-02-07 16:46:48 +01:00
Folke Lemaitre
65fb26fe97
refactor: removed deprecation warnings from before 1.0.0 2023-01-25 09:00:33 +01:00
Folke Lemaitre
5bf979d234
fix(lsp): again 2023-01-24 08:52:28 +01:00
Folke Lemaitre
744028ea4c
fix(lsp): check for nvim-cmp intsead of cmp 2023-01-24 08:50:18 +01:00
Folke Lemaitre
b81dc71211
fix(lsp): only load cmp-nvim-lsp when cmp is enabled 2023-01-24 07:50:07 +01:00
Folke Lemaitre
cc0171e770
feat(lsp): setup lsp servers not supported by mason-lspconfig and added mason=false to skip server setup by mason. Fixes #95 2023-01-22 10:31:48 +01:00
Folke Lemaitre
5d3e126b63
feat(lsp): ignore lsp servers where setting is set to false 2023-01-19 22:10:38 +01:00
Folke Lemaitre
b278b062ec
feat(lsp): added opts.autoformat to be able to disable autoformat by default. Fixes #65 2023-01-16 14:13:24 +01:00
Folke Lemaitre
f9de5d0e8a
fix(format): typo timeout -> timeout_ms 2023-01-13 22:47:47 +01:00
Folke Lemaitre
40d363cf3f
feat(lsp): allow overriding options for vim.lsp.buf.format. Fixes #51 2023-01-13 22:46:16 +01:00
Folke Lemaitre
1efc925d16
feat(lsp): make diagnostics configurable with {"neovim/nvim-lspconfig", opts = {diagnostics = {}}}. Fixes #55 2023-01-13 09:38:15 +01:00
Folke Lemaitre
7a68907b39
fix(neodev): use opts instead of config 2023-01-10 18:27:13 +01:00
Folke Lemaitre
6cf6959254
perf(neodev): enable experimental pathStrict setting for better sumneko performance 2023-01-10 17:55:26 +01:00
Folke Lemaitre
36c84f47c9
feat(config)!: LazyVim can now be configured like any other plugin with {"LazyVim/LazyVim", opts = ... }. config.settings is deprecated 2023-01-10 11:14:27 +01:00
Folke Lemaitre
814c43a053
refactor(mason): move ensure_installed to opts.ensure_installed 2023-01-08 18:59:38 +01:00
Folke Lemaitre
2135bc144c
refactor(plugins)!: plugins now use lazy.nvim's new opts property to make it far easier to override options 2023-01-08 15:05:34 +01:00
Andreas Gerlach
037d0e87b3
fix: provide LSP server name in setup function (#21) 2023-01-07 19:38:47 +01:00
Folke Lemaitre
9fd21306fc
feat(lsp): allow for custom lsp server setup 2023-01-07 11:16:04 +01:00