diff options
| author | Stefan Weigl-Bosker <stefan@s00.xyz> | 2026-03-20 15:19:14 -0400 |
|---|---|---|
| committer | Stefan Weigl-Bosker <stefan@s00.xyz> | 2026-03-20 15:19:14 -0400 |
| commit | de49363c1af68984787ddf1e0cca7d4c69be33a2 (patch) | |
| tree | c82057ba572d85cd4a4f8cba884a7a7cb3a1fdaa /modules/neovim/nvim/lua/config/lsp/metals.lua | |
| parent | e3b494cdf1bf0049a0797ec1c14ca279b1f253ec (diff) | |
| download | home-de49363c1af68984787ddf1e0cca7d4c69be33a2.tar.gz | |
modules/neovim: use metals-nvim plugin instead of plain lsp
Diffstat (limited to 'modules/neovim/nvim/lua/config/lsp/metals.lua')
| -rw-r--r-- | modules/neovim/nvim/lua/config/lsp/metals.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/neovim/nvim/lua/config/lsp/metals.lua b/modules/neovim/nvim/lua/config/lsp/metals.lua new file mode 100644 index 0000000..d9603db --- /dev/null +++ b/modules/neovim/nvim/lua/config/lsp/metals.lua @@ -0,0 +1,10 @@ +local config = require("metals").bare_config() + +config.init_options.statusBarProvider = "off" +config.capabilities = require("blink.cmp").get_lsp_capabilities() + +config.on_attach = function(client, bufnr) + local opts = { buffer = bufnr } +end + +return config |