disable treesitter indentation + comments
This commit is contained in:
parent
dcb979b9c8
commit
5d01f03eda
1
init.lua
1
init.lua
|
@ -217,6 +217,7 @@ local function DockerFileTypeDetectionAutoCommand()
|
|||
end
|
||||
end
|
||||
|
||||
-- Hacky way to configure correct filetype for docker-compose LSP
|
||||
-- vim.api.nvim_create_augroup('DockerFileTypeDetection', { clear = true })
|
||||
vim.api.nvim_create_autocmd({ 'BufRead', 'BufNewFile' }, {
|
||||
pattern = tbl,
|
||||
|
|
|
@ -12,7 +12,7 @@ return { -- Highlight, edit, and navigate code
|
|||
-- the list of additional_vim_regex_highlighting and disabled languages for indent.
|
||||
additional_vim_regex_highlighting = { 'ruby' },
|
||||
},
|
||||
indent = { enable = true, disable = { 'ruby' } },
|
||||
-- indent = { enable = true, disable = { 'ruby' } },
|
||||
},
|
||||
config = function(_, opts)
|
||||
-- [[ Configure Treesitter ]] See `:help nvim-treesitter`
|
||||
|
@ -30,4 +30,3 @@ return { -- Highlight, edit, and navigate code
|
|||
-- - Treesitter + textobjects: https://github.com/nvim-treesitter/nvim-treesitter-textobjects
|
||||
end,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue