diff --git a/dot_config/nvim/ftplugin/css.lua b/dot_config/nvim/ftplugin/css.lua new file mode 100644 index 0000000..fed276a --- /dev/null +++ b/dot_config/nvim/ftplugin/css.lua @@ -0,0 +1,6 @@ +local space = 2 +vim.opt.shiftwidth = space +vim.opt.tabstop = space +vim.opt.softtabstop = space +vim.opt.expandtab = true +vim.opt.shiftround = true diff --git a/dot_config/nvim/ftplugin/go.lua b/dot_config/nvim/ftplugin/go.lua new file mode 100644 index 0000000..cc3bd0c --- /dev/null +++ b/dot_config/nvim/ftplugin/go.lua @@ -0,0 +1,4 @@ +vim.opt_local.expandtab = false +vim.opt_local.shiftwidth = 4 +vim.opt_local.tabstop = 4 +vim.opt_local.softtabstop = 0 diff --git a/dot_config/nvim/ftplugin/html.lua b/dot_config/nvim/ftplugin/html.lua new file mode 100644 index 0000000..fed276a --- /dev/null +++ b/dot_config/nvim/ftplugin/html.lua @@ -0,0 +1,6 @@ +local space = 2 +vim.opt.shiftwidth = space +vim.opt.tabstop = space +vim.opt.softtabstop = space +vim.opt.expandtab = true +vim.opt.shiftround = true diff --git a/dot_config/nvim/ftplugin/php.lua b/dot_config/nvim/ftplugin/php.lua new file mode 100644 index 0000000..e69de29