add lsp config for rust analyzer

This commit is contained in:
jc 2023-10-07 15:13:01 -04:00
commit 965d1bb983
No known key found for this signature in database

View file

@ -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()