diff --git a/after/ftplugin/javascript.lua b/after/ftplugin/javascript.lua new file mode 100644 index 0000000..10c1efc --- /dev/null +++ b/after/ftplugin/javascript.lua @@ -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 counts for. When 0, feature is off (sts).