diff options
Diffstat (limited to 'nvim/lua/config')
| -rw-r--r-- | nvim/lua/config/autocmds.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/nvim/lua/config/autocmds.lua b/nvim/lua/config/autocmds.lua index 1452546..6627c74 100644 --- a/nvim/lua/config/autocmds.lua +++ b/nvim/lua/config/autocmds.lua | |||
| @@ -20,6 +20,17 @@ vim.api.nvim_create_autocmd("FileType", { | |||
| 20 | end, | 20 | end, |
| 21 | }) | 21 | }) |
| 22 | 22 | ||
| 23 | vim.api.nvim_create_autocmd("FileType", { | ||
| 24 | pattern = { "taskedit", "taskwarrior" }, | ||
| 25 | callback = function() | ||
| 26 | vim.opt_local.smartindent = false | ||
| 27 | vim.opt_local.cindent = false | ||
| 28 | vim.opt_local.autoindent = false | ||
| 29 | vim.opt_local.indentexpr = "" | ||
| 30 | vim.opt_local.indentkeys = "" | ||
| 31 | end, | ||
| 32 | }) | ||
| 33 | |||
| 23 | -- https://github.com/nvim-tree/nvim-tree.lua/wiki/Open-At-Startup | 34 | -- https://github.com/nvim-tree/nvim-tree.lua/wiki/Open-At-Startup |
| 24 | vim.api.nvim_create_autocmd("VimEnter", { | 35 | vim.api.nvim_create_autocmd("VimEnter", { |
| 25 | callback = function(data) | 36 | callback = function(data) |
