add lsp config for rust analyzer
This commit is contained in:
parent
26c86c4329
commit
965d1bb983
1 changed files with 2 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ return {
|
||||||
-- LSP Support
|
-- LSP Support
|
||||||
{ 'neovim/nvim-lspconfig' }, -- Required
|
{ 'neovim/nvim-lspconfig' }, -- Required
|
||||||
{
|
{
|
||||||
-- Optional
|
-- Optional
|
||||||
'williamboman/mason.nvim',
|
'williamboman/mason.nvim',
|
||||||
build = function()
|
build = function()
|
||||||
pcall(vim.cmd, 'MasonUpdate')
|
pcall(vim.cmd, 'MasonUpdate')
|
||||||
|
|
@ -83,6 +83,7 @@ return {
|
||||||
lspconfig.tsserver.setup({})
|
lspconfig.tsserver.setup({})
|
||||||
lspconfig.tailwindcss.setup({})
|
lspconfig.tailwindcss.setup({})
|
||||||
lspconfig.zls.setup({})
|
lspconfig.zls.setup({})
|
||||||
|
lspconfig.rust_analyzer.setup({})
|
||||||
end
|
end
|
||||||
|
|
||||||
lspzero.setup()
|
lspzero.setup()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue