added python lsp by default

This commit is contained in:
Ryan 2023-09-04 13:26:42 -04:00
parent 7c01f4cdc8
commit 8eccf674b9
Signed by: ryan77627
GPG key ID: 81B0E222A3E2308E

View file

@ -41,7 +41,9 @@ require('lualine').setup()
require('coq') require('coq')
require('orgmode').setup_ts_grammar() require('orgmode').setup_ts_grammar()
require("mason").setup() require("mason").setup()
require("mason-lspconfig").setup() require("mason-lspconfig").setup {
ensure_installed = { "pyright" },
}
require("mason-lspconfig").setup_handlers { require("mason-lspconfig").setup_handlers {
function (server_name) function (server_name)
@ -54,7 +56,7 @@ require('nvim-treesitter.configs').setup {
enable = true, enable = true,
additional_vim_regex_highlighting = {'org'}, additional_vim_regex_highlighting = {'org'},
}, },
ensure_installed = {'org', 'vim'}, ensure_installed = {'org', 'vim', 'python'},
} }
require('orgmode').setup({ require('orgmode').setup({