This commit is contained in:
Ale 2023-12-23 16:36:46 +01:00
commit f51ab02f7f

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 },