mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2024-12-22 23:08:01 +00:00
[neovim] Fix tab setting by filetype
This commit is contained in:
parent
5a9d5c507b
commit
2c602ab1d3
@ -16,7 +16,7 @@ vim.api.nvim_create_autocmd({ "TextYankPost" }, {
|
|||||||
|
|
||||||
-- Set expandtab=true in several file types
|
-- Set expandtab=true in several file types
|
||||||
vim.api.nvim_create_autocmd({ "FileType" }, {
|
vim.api.nvim_create_autocmd({ "FileType" }, {
|
||||||
pattern = { "*.go", "makefile", "*.lua" },
|
pattern = { "go", "makefile", "lua" },
|
||||||
callback = function()
|
callback = function()
|
||||||
vim.opt_local.expandtab = false
|
vim.opt_local.expandtab = false
|
||||||
end,
|
end,
|
||||||
|
Loading…
Reference in New Issue
Block a user