feat(filetype): Make tabs two spaces wide for lua files
This commit is contained in:
parent
f073cca3b6
commit
0777b097c0
|
@ -1,5 +1,9 @@
|
||||||
vim.filetype.add({
|
vim.filetype.add({
|
||||||
extension = {
|
extension = {
|
||||||
|
lua = function(_, bufnr)
|
||||||
|
vim.bo[bufnr].shiftwidth = 2
|
||||||
|
vim.bo[bufnr].tabstop = 2
|
||||||
|
end,
|
||||||
typ = function(_, bufnr)
|
typ = function(_, bufnr)
|
||||||
vim.bo[bufnr].shiftwidth = 2
|
vim.bo[bufnr].shiftwidth = 2
|
||||||
vim.bo[bufnr].tabstop = 2
|
vim.bo[bufnr].tabstop = 2
|
||||||
|
|
Loading…
Reference in a new issue