LSP and treesitter fixes for python and git

This commit is contained in:
Erik Stambaugh 2024-07-08 15:51:26 -07:00
parent 153a9068ea
commit e3607e29a6
3 changed files with 4 additions and 1 deletions

View file

@ -25,6 +25,7 @@ require('mason-lspconfig').setup({
},
})
-- https://github.com/williamboman/mason-lspconfig.nvim/blob/main/lua/mason-lspconfig/server_configurations/pylsp/README.md
require "lspconfig".pylsp.setup {
on_attach = on_attach,
settings = {

View file

@ -1,6 +1,6 @@
require'nvim-treesitter.configs'.setup {
-- A list of parser names, or "all" (the five listed parsers should always be installed)
ensure_installed = { "c", "lua", "vim", "vimdoc", "query", "javascript", "python", "comment" },
ensure_installed = { "c", "lua", "vim", "vimdoc", "query", "javascript", "python", "comment", "diff", "git_rebase" },
--ensure_installed = { "c", "lua", "vim", "vimdoc", "query" },
-- Install parsers synchronously (only applied to `ensure_installed`)

View file

@ -3,3 +3,5 @@
name = Erik Stambaugh
[init]
defaultBranch = main
[safe]
directory = /srv/nzbToMedia