diff options
Diffstat (limited to '.config/nvim/lua/ftplugin')
-rwxr-xr-x | .config/nvim/lua/ftplugin/common-markup.lua | 3 | ||||
-rwxr-xr-x | .config/nvim/lua/ftplugin/common-space.lua | 5 | ||||
-rwxr-xr-x | .config/nvim/lua/ftplugin/init.lua | 2 |
3 files changed, 10 insertions, 0 deletions
diff --git a/.config/nvim/lua/ftplugin/common-markup.lua b/.config/nvim/lua/ftplugin/common-markup.lua new file mode 100755 index 0000000..956a163 --- /dev/null +++ b/.config/nvim/lua/ftplugin/common-markup.lua @@ -0,0 +1,3 @@ +bo.expandtab = true +bo.shiftwidth = 2 +bo.tabstop = 2 diff --git a/.config/nvim/lua/ftplugin/common-space.lua b/.config/nvim/lua/ftplugin/common-space.lua new file mode 100755 index 0000000..ccefb94 --- /dev/null +++ b/.config/nvim/lua/ftplugin/common-space.lua @@ -0,0 +1,5 @@ +bo.tabstop=4 +bo.shiftwidth=4 +bo.textwidth=0 +bo.wrapmargin=0 +bo.expandtab = true diff --git a/.config/nvim/lua/ftplugin/init.lua b/.config/nvim/lua/ftplugin/init.lua new file mode 100755 index 0000000..906b7a1 --- /dev/null +++ b/.config/nvim/lua/ftplugin/init.lua @@ -0,0 +1,2 @@ +package.path = package.path .. ';' .. vim.fn.stdpath('config') .. '/ftplugin/?.lua' +package.path = package.path .. ';' .. vim.fn.stdpath('config') .. '/after/ftplugin/?.lua' |