add toml to expandtab
This commit is contained in:
parent
dccfb055e1
commit
79a2d63604
@ -35,11 +35,11 @@ set.expandtab = false
|
||||
set.shiftwidth = 4
|
||||
set.tabstop = 4
|
||||
|
||||
-- enable expandtab for python and sent files
|
||||
-- enable expandtab for certain file types files
|
||||
vim.api.nvim_create_augroup('setExpandTabPython', { clear = true })
|
||||
vim.api.nvim_create_autocmd('Filetype', {
|
||||
group = 'setExpandTabPython',
|
||||
pattern = { 'python', 'sent' },
|
||||
pattern = { 'python', 'sent', 'toml' },
|
||||
command = 'setlocal expandtab tabstop=4 shiftwidth=4',
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user