diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2025-10-14 22:13:29 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2025-10-14 22:13:29 +0200 |
| commit | 52dac3de75e1202ecd9120e1e5baf2f61e1af35c (patch) | |
| tree | 5d9033597e2f2be520309e7397bd628cb4e19242 | |
| parent | a598872d4ab7a7a69828250b6a4255221e126702 (diff) | |
feat(nvim): enable lsp diagnostic and use ty lsp for python
| -rw-r--r-- | config/nvim/lua/options.lua | 5 | ||||
| -rw-r--r-- | config/nvim/lua/plugins/lsp.lua | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/config/nvim/lua/options.lua b/config/nvim/lua/options.lua index 20df8d7..eb4421e 100644 --- a/config/nvim/lua/options.lua +++ b/config/nvim/lua/options.lua @@ -17,6 +17,11 @@ vim.opt.smartcase = true -- but make it case sensitive if an uppercas vim.opt.colorcolumn = "120" +vim.diagnostic.enable = true +vim.diagnostic.config({ + virtual_lines = true, +}) + vim.filetype.add({ extension = { heex = 'eelixir' diff --git a/config/nvim/lua/plugins/lsp.lua b/config/nvim/lua/plugins/lsp.lua index 6478923..0574c47 100644 --- a/config/nvim/lua/plugins/lsp.lua +++ b/config/nvim/lua/plugins/lsp.lua @@ -16,7 +16,7 @@ return { }, opts = { ensure_installed = { - "pylsp", + "ty", "elixirls", "gopls" }, |
