disable treesitter indentation + comments

This commit is contained in:
peturparkur 2025-06-24 21:14:56 +02:00
parent dcb979b9c8
commit 5d01f03eda
2 changed files with 2 additions and 2 deletions

View File

@ -217,6 +217,7 @@ local function DockerFileTypeDetectionAutoCommand()
end end
end end
-- Hacky way to configure correct filetype for docker-compose LSP
-- vim.api.nvim_create_augroup('DockerFileTypeDetection', { clear = true }) -- vim.api.nvim_create_augroup('DockerFileTypeDetection', { clear = true })
vim.api.nvim_create_autocmd({ 'BufRead', 'BufNewFile' }, { vim.api.nvim_create_autocmd({ 'BufRead', 'BufNewFile' }, {
pattern = tbl, pattern = tbl,

View File

@ -12,7 +12,7 @@ return { -- Highlight, edit, and navigate code
-- the list of additional_vim_regex_highlighting and disabled languages for indent. -- the list of additional_vim_regex_highlighting and disabled languages for indent.
additional_vim_regex_highlighting = { 'ruby' }, additional_vim_regex_highlighting = { 'ruby' },
}, },
indent = { enable = true, disable = { 'ruby' } }, -- indent = { enable = true, disable = { 'ruby' } },
}, },
config = function(_, opts) config = function(_, opts)
-- [[ Configure Treesitter ]] See `:help nvim-treesitter` -- [[ 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 -- - Treesitter + textobjects: https://github.com/nvim-treesitter/nvim-treesitter-textobjects
end, end,
} }