From 2c602ab1d3f7175205a7a50f6a7bf145d48c7e52 Mon Sep 17 00:00:00 2001 From: Daniel Carrillo Date: Wed, 19 Oct 2022 20:06:39 +0200 Subject: [PATCH] [neovim] Fix tab setting by filetype --- .config/nvim/lua/core/autocommands.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/nvim/lua/core/autocommands.lua b/.config/nvim/lua/core/autocommands.lua index f06e676..86fe8ec 100644 --- a/.config/nvim/lua/core/autocommands.lua +++ b/.config/nvim/lua/core/autocommands.lua @@ -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,