Use ftplugin for indent configuration
This commit is contained in:
parent
e3cece6400
commit
fe025d76de
12 changed files with 81 additions and 19 deletions
5
nvim/ftplugin/bash.lua
Normal file
5
nvim/ftplugin/bash.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
vim.b.tabstop = 4
|
||||
vim.b.softtabstop = 4
|
||||
vim.b.shiftwidth = 4
|
||||
vim.b.expandtab = true
|
||||
vim.b.autoindent = true
|
||||
5
nvim/ftplugin/css.lua
Normal file
5
nvim/ftplugin/css.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
vim.b.tabstop = 2
|
||||
vim.b.softtabstop = 2
|
||||
vim.b.shiftwidth = 2
|
||||
vim.b.expandtab = true
|
||||
vim.b.autoindent = true
|
||||
5
nvim/ftplugin/html.lua
Normal file
5
nvim/ftplugin/html.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
vim.b.tabstop = 2
|
||||
vim.b.softtabstop = 2
|
||||
vim.b.shiftwidth = 2
|
||||
vim.b.expandtab = true
|
||||
vim.b.autoindent = true
|
||||
5
nvim/ftplugin/htmldjango.lua
Normal file
5
nvim/ftplugin/htmldjango.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
vim.b.tabstop = 2
|
||||
vim.b.softtabstop = 2
|
||||
vim.b.shiftwidth = 2
|
||||
vim.b.expandtab = true
|
||||
vim.b.autoindent = true
|
||||
5
nvim/ftplugin/javascript.lua
Normal file
5
nvim/ftplugin/javascript.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
vim.b.tabstop = 2
|
||||
vim.b.softtabstop = 2
|
||||
vim.b.shiftwidth = 2
|
||||
vim.b.expandtab = true
|
||||
vim.b.autoindent = true
|
||||
5
nvim/ftplugin/json.lua
Normal file
5
nvim/ftplugin/json.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
vim.b.tabstop = 4
|
||||
vim.b.softtabstop = 4
|
||||
vim.b.shiftwidth = 4
|
||||
vim.b.expandtab = true
|
||||
vim.b.autoindent = true
|
||||
5
nvim/ftplugin/lua.lua
Normal file
5
nvim/ftplugin/lua.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
vim.b.tabstop = 2
|
||||
vim.b.softtabstop = 2
|
||||
vim.b.shiftwidth = 2
|
||||
vim.b.expandtab = true
|
||||
vim.b.autoindent = true
|
||||
5
nvim/ftplugin/python.lua
Normal file
5
nvim/ftplugin/python.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
vim.b.tabstop = 4
|
||||
vim.b.softtabstop = 4
|
||||
vim.b.shiftwidth = 4
|
||||
vim.b.expandtab = true
|
||||
vim.b.autoindent = true
|
||||
5
nvim/ftplugin/scss.lua
Normal file
5
nvim/ftplugin/scss.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
vim.b.tabstop = 2
|
||||
vim.b.softtabstop = 2
|
||||
vim.b.shiftwidth = 2
|
||||
vim.b.expandtab = true
|
||||
vim.b.autoindent = true
|
||||
5
nvim/ftplugin/sh.lua
Normal file
5
nvim/ftplugin/sh.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
vim.b.tabstop = 4
|
||||
vim.b.softtabstop = 4
|
||||
vim.b.shiftwidth = 4
|
||||
vim.b.expandtab = true
|
||||
vim.b.autoindent = true
|
||||
5
nvim/ftplugin/yaml.lua
Normal file
5
nvim/ftplugin/yaml.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
vim.b.tabstop = 2
|
||||
vim.b.softtabstop = 2
|
||||
vim.b.shiftwidth = 2
|
||||
vim.b.expandtab = true
|
||||
vim.b.autoindent = true
|
||||
Loading…
Add table
Add a link
Reference in a new issue