Adding filetype indent for JS cause 4 tabs were too much.
This commit is contained in:
parent
dfc0e722a9
commit
85a938e71a
4
after/ftplugin/javascript.lua
Normal file
4
after/ftplugin/javascript.lua
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
vim.bo.tabstop = 2 -- size of a hard tabstop (ts).
|
||||||
|
vim.bo.shiftwidth = 2 -- size of an indentation (sw).
|
||||||
|
vim.bo.expandtab = true -- always uses spaces instead of tab characters (et).
|
||||||
|
vim.bo.softtabstop = 2 -- number of spaces a <Tab> counts for. When 0, feature is off (sts).
|
Loading…
Reference in New Issue
Block a user