aboutsummaryrefslogtreecommitdiffstats
path: root/modules/tools/editor/neovim/config/options.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/tools/editor/neovim/config/options.lua')
-rw-r--r--modules/tools/editor/neovim/config/options.lua16
1 files changed, 8 insertions, 8 deletions
diff --git a/modules/tools/editor/neovim/config/options.lua b/modules/tools/editor/neovim/config/options.lua
index 450e613..bd475c7 100644
--- a/modules/tools/editor/neovim/config/options.lua
+++ b/modules/tools/editor/neovim/config/options.lua
@@ -31,11 +31,11 @@ vim.api.nvim_create_autocmd("FileType", {
});
-- Exception that use spaces
--- vim.api.nvim_create_autocmd("FileType", {
--- pattern = {},
--- callback = function()
--- vim.bo.expandtab = true;
--- vim.bo.tabstop = 2;
--- vim.bo.shiftwidth = 2;
--- end,
--- });
+vim.api.nvim_create_autocmd("FileType", {
+ pattern = { "yaml" },
+ callback = function()
+ vim.bo.expandtab = true;
+ vim.bo.tabstop = 2;
+ vim.bo.shiftwidth = 2;
+ end,
+});