commit e66b3d28eb58b86ec704a6731cf9f02d781a5f76
parent c0092bdc7de25378b71d3e0a97e15a96e9ff7d17
Author: Thomas Vigouroux <me@vigoux.eu>
Date: Tue, 27 Aug 2024 14:37:03 +0200
feat(python): add python support
Diffstat:
4 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/after/ftplugin/python.lua b/after/ftplugin/python.lua
@@ -0,0 +1 @@
+vim.treesitter.start()
diff --git a/after/ftplugin/python.vim b/after/ftplugin/python.vim
@@ -1,3 +1,3 @@
if globpath('.', '?akefile*') ==? ''
- compiler mypy
+ " compiler mypy
endif
diff --git a/lua/my-lspconfig.lua b/lua/my-lspconfig.lua
@@ -134,6 +134,10 @@ lspconfig.texlab.setup {
},
}
+lspconfig.pylsp.setup {
+
+}
+
require'lean'.setup {
mappings = true,
lsp = {
diff --git a/rocks.toml b/rocks.toml
@@ -24,6 +24,7 @@ nvim-lspconfig = "0.1.8"
tree-sitter-latex = "0.0.3"
"plenary.nvim" = "scm"
"rocks-git.nvim" = "2.0.1"
+tree-sitter-python = "0.0.3"
[plugins."lean.nvim"]
git = "julian/lean.nvim"