nvim change.
This commit is contained in:
parent
f2989bc480
commit
895179490e
2 changed files with 88 additions and 88 deletions
|
@ -10,7 +10,7 @@ createAutoCmd({
|
|||
"BufNewFile",
|
||||
"BufRead",
|
||||
},{
|
||||
pattern = "*.go,*.c,*.cc,*.C,*.cpp,*.rs,*.mk",
|
||||
pattern = "*.go,*.c,*.cc,*.C,*.cpp,*.rs,*.lua",
|
||||
callback = function()
|
||||
local buf = vim.bo[vim.api.nvim_get_current_buf()]
|
||||
vim.o.expandtab = false
|
||||
|
@ -23,7 +23,7 @@ createAutoCmd({
|
|||
"BufNewFile",
|
||||
"BufRead",
|
||||
},{
|
||||
pattern = "*.txt,*.lua,*.js,*.jsx,*.scss,*.css,*.sass,*.html,*.htmlx,*.tmpl,*.tpl,*.yml,*.yaml,*.toml,*.tml",
|
||||
pattern = "*.txt,*.js,*.jsx,*.scss,*.css,*.sass,*.html,*.htmlx,*.tmpl,*.tpl,*.yml,*.yaml,*.toml,*.tml",
|
||||
callback = function()
|
||||
local buf = vim.bo[vim.api.nvim_get_current_buf()]
|
||||
buf.expandtab = true
|
||||
|
|
Loading…
Reference in a new issue