treesitter has trouble with python
This commit is contained in:
parent
e244d0b908
commit
b283bc854e
1 changed files with 5 additions and 2 deletions
|
@ -5,7 +5,7 @@ vim.defer_fn(function()
|
||||||
require('nvim-treesitter.configs').setup {
|
require('nvim-treesitter.configs').setup {
|
||||||
-- Add languages to be installed here that you want installed for treesitter
|
-- Add languages to be installed here that you want installed for treesitter
|
||||||
ensure_installed = {
|
ensure_installed = {
|
||||||
'markdown_inline' -- Markdown has/needs(atm) 2 packages and this one isn't installed automatically
|
'markdown_inline', -- Markdown has/needs(atm) 2 packages and this one isn't installed automatically
|
||||||
},
|
},
|
||||||
|
|
||||||
-- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!)
|
-- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!)
|
||||||
|
@ -15,7 +15,10 @@ vim.defer_fn(function()
|
||||||
enable = true,
|
enable = true,
|
||||||
additional_vim_regex_highlighting = false,
|
additional_vim_regex_highlighting = false,
|
||||||
},
|
},
|
||||||
indent = { enable = true },
|
indent = {
|
||||||
|
enable = true,
|
||||||
|
disable = { 'python' },
|
||||||
|
},
|
||||||
incremental_selection = {
|
incremental_selection = {
|
||||||
enable = true,
|
enable = true,
|
||||||
keymaps = {
|
keymaps = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue