updates
This commit is contained in:
@@ -21,7 +21,14 @@ ct.augroup('templates',
|
||||
--
|
||||
ct.augroup('filetypeSettings',
|
||||
{'FileType', 'python', 'setlocal', 'tabstop=4 shiftwidth=4 expandtab'},
|
||||
{'FileType', 'html', 'setlocal', 'tabstop=2 shiftwidth=2 expandtab'},
|
||||
{'FileType', 'javascript', 'setlocal', 'tabstop=2 shiftwidth=2 expandtab'},
|
||||
{'FileType', 'vue', 'setlocal', 'tabstop=2 shiftwidth=2 expandtab'}
|
||||
{'FileType', 'html', 'setlocal', 'tabstop=2 shiftwidth=2'},
|
||||
{'FileType', 'javascript', 'setlocal', 'tabstop=2 shiftwidth=2'},
|
||||
{'FileType', 'typescript', 'setlocal', 'tabstop=2 shiftwidth=2'},
|
||||
{'FileType', 'typescriptreact','setlocal', 'tabstop=2 shiftwidth=2'},
|
||||
{'FileType', 'vue', 'setlocal', 'tabstop=2 shiftwidth=2'}
|
||||
)
|
||||
|
||||
--
|
||||
-- Misc.
|
||||
--
|
||||
vim.cmd 'autocmd BufWritePost *.go,*.py,*.js,*.ts,*tsx,*.tex LspFormat' -- run lspformat when saving in go
|
||||
|
||||
Reference in New Issue
Block a user