[neovim] Fix tab setting by filetype

This commit is contained in:
Daniel Carrillo 2022-10-19 20:06:39 +02:00
parent 5a9d5c507b
commit 2c602ab1d3
Signed by: dcarrillo
GPG Key ID: E4CD5C09DAED6E16
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ vim.api.nvim_create_autocmd({ "TextYankPost" }, {
-- Set expandtab=true in several file types
vim.api.nvim_create_autocmd({ "FileType" }, {
pattern = { "*.go", "makefile", "*.lua" },
pattern = { "go", "makefile", "lua" },
callback = function()
vim.opt_local.expandtab = false
end,