diff options
| author | Simen A. W. Olsen <hello@simenandre.no> | 2024-12-27 14:37:44 +0100 |
|---|---|---|
| committer | Simen A. W. Olsen <hello@simenandre.no> | 2024-12-27 14:37:44 +0100 |
| commit | 54abce564fa2ce215df74066102f68ed8ba0164a (patch) | |
| tree | 20e29276590ed3c690b2de9c9ceee0e8319ae5f7 /.config/nvim/lua/simenandre/plugins | |
| parent | 73aa6990b5112b84db48f40e57ce9055a9f4b342 (diff) | |
| download | dotfiles-54abce564fa2ce215df74066102f68ed8ba0164a.tar.gz dotfiles-54abce564fa2ce215df74066102f68ed8ba0164a.zip | |
add new stuff
Diffstat (limited to '.config/nvim/lua/simenandre/plugins')
| -rw-r--r-- | .config/nvim/lua/simenandre/plugins/plugins.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.config/nvim/lua/simenandre/plugins/plugins.lua b/.config/nvim/lua/simenandre/plugins/plugins.lua index 53f76e5..a6c5ba4 100644 --- a/.config/nvim/lua/simenandre/plugins/plugins.lua +++ b/.config/nvim/lua/simenandre/plugins/plugins.lua @@ -347,6 +347,16 @@ return { local servers = { -- clangd = {}, gopls = {}, + zls = { + root_dir = require("lspconfig.util").root_pattern(".git", "build.zig", "zls.json"), + settings = { + zls = { + enable_inlay_hints = true, + enable_snippets = true, + warn_style = true, + }, + }, + }, -- pyright = {}, -- rust_analyzer = {}, -- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs |
