FEAT: nvim lsp rust

This commit is contained in:
GlaDOS 2023-12-23 14:14:37 +01:00
parent bfea58ffdb
commit a69fc05d5c

View file

@ -36,6 +36,7 @@ plugins = {
'neovim/nvim-lspconfig', 'neovim/nvim-lspconfig',
config = function() config = function()
local lsp = require('lspconfig') local lsp = require('lspconfig')
lsp.rust_analyzer.setup{}
lsp.lua_ls.setup{} lsp.lua_ls.setup{}
lsp.pyright.setup{} lsp.pyright.setup{}
lsp.tsserver.setup{} lsp.tsserver.setup{}
@ -205,7 +206,7 @@ plugins = {
config = function () config = function ()
local configs = require("nvim-treesitter.configs") local configs = require("nvim-treesitter.configs")
configs.setup({ configs.setup({
ensure_installed = { "c", "rust", "lua", "vim", "vimdoc", "markdown" , "javascript", "html", "astro" }, ensure_installed = { "c", "rust", "lua", "vim", "vimdoc", "markdown" , "javascript", "typescript", "python", "html", "astro" },
sync_install = false, sync_install = false,
highlight = { enable = true }, highlight = { enable = true },
indent = { enable = true }, indent = { enable = true },