Testing rust_analizer on OBSD

This commit is contained in:
Eduardo Cueto-Mendoza 2024-03-15 13:13:12 +00:00
parent c5cc726021
commit 5d2ed175cb
1 changed files with 20 additions and 23 deletions

View File

@ -21,6 +21,7 @@ then
'lua_ls', 'lua_ls',
'ltex', 'ltex',
'pylsp', 'pylsp',
'rust_analyzer',
'texlab', 'texlab',
'zls' 'zls'
}) })
@ -31,6 +32,7 @@ then
'bashls', 'bashls',
'dockerls', 'dockerls',
'pylsp', 'pylsp',
'rust_analyzer'
}) })
else else
print('Should never be here') print('Should never be here')
@ -79,7 +81,6 @@ then
require('lspconfig').julials.setup({}) require('lspconfig').julials.setup({})
--require('lspconfig').lua_ls.setup(lsp.nvim_lua_ls()) --require('lspconfig').lua_ls.setup(lsp.nvim_lua_ls())
require('lspconfig').lua_ls.setup({ require('lspconfig').lua_ls.setup({
settings = { settings = {
@ -134,17 +135,15 @@ then
}, },
}) })
-- source: https://rust-analyzer.github.io/manual.html#nvim-lsp require('lspconfig').rust_analyzer.setup({
--require('lspconfig').rust_analyzer.setup({ settings = {
-- on_attach = on_attach, ["rust-analyzer"] = {
-- settings = { diagnostics = {
-- ["rust-analyzer"] = { enable = false;
-- inlayHints = { }
-- closingBraceHints = true, -- Whether to show inlay hints after a closing } to indicate what item it belongs to. }
-- } }
-- } })
-- }
--})
require('lspconfig').texlab.setup({}) require('lspconfig').texlab.setup({})
@ -175,17 +174,15 @@ then
-- }, -- },
--}) --})
-- source: https://rust-analyzer.github.io/manual.html#nvim-lsp require('lspconfig').rust_analyzer.setup({
--require('lspconfig').rust_analyzer.setup({ settings = {
-- on_attach = on_attach, ["rust-analyzer"] = {
-- settings = { diagnostics = {
-- ["rust-analyzer"] = { enable = false;
-- inlayHints = { }
-- closingBraceHints = true, -- Whether to show inlay hints after a closing } to indicate what item it belongs to. }
-- } }
-- } })
-- }
--})
-- require('lspconfig').texlab.setup({}) -- require('lspconfig').texlab.setup({})