Change some python settings

This commit is contained in:
Alexander Wainwright
2025-06-24 12:05:06 +10:00
parent ce13abf5cb
commit 72ea4db881

View File

@@ -626,7 +626,7 @@ require("lazy").setup({
-- clangd = {},
-- gopls = {},
-- pylsp = {},
-- pyright = {},
pyright = {},
-- rust_analyzer = {},
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
--
@@ -874,9 +874,9 @@ require("lazy").setup({
-- Some languages depend on vim's regex highlighting system (such as Ruby) for indent rules.
-- If you are experiencing weird indenting issues, add the language to
-- the list of additional_vim_regex_highlighting and disabled languages for indent.
additional_vim_regex_highlighting = { "ruby" },
additional_vim_regex_highlighting = { "ruby", "python" },
},
indent = { enable = false, disable = { "ruby" } },
indent = { enable = false, disable = { "ruby", "python" } },
},
config = function(_, opts)
-- [[ Configure Treesitter ]] See `:help nvim-treesitter`