my demo first config lua
This commit is contained in:
9
after/ftplugin/cucumber.lua
Normal file
9
after/ftplugin/cucumber.lua
Normal file
@@ -0,0 +1,9 @@
|
||||
local set = vim.bo
|
||||
|
||||
set.expandtab = true
|
||||
set.tabstop = 2
|
||||
set.softtabstop = 2
|
||||
set.shiftwidth = 2
|
||||
set.smartindent = false
|
||||
set.cindent = false
|
||||
set.indentexpr = ""
|
||||
2
after/ftplugin/dbout.vim
Normal file
2
after/ftplugin/dbout.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
set nofoldenable
|
||||
set colorcolumn=
|
||||
3
after/ftplugin/go.vim
Normal file
3
after/ftplugin/go.vim
Normal file
@@ -0,0 +1,3 @@
|
||||
set listchars=tab:\ \ ,trail:-
|
||||
set makeprg=go\ build
|
||||
set efm=%-G%f:%l:%c:W:\ %m,%-G%f:%l::W:\ %m,%f:%l:%c:%t:\ %m,%f:%l:%c::\ %m,%f:%l::%t:\ %m
|
||||
4
after/ftplugin/json.vim
Normal file
4
after/ftplugin/json.vim
Normal file
@@ -0,0 +1,4 @@
|
||||
setlocal expandtab
|
||||
setlocal tabstop=2
|
||||
setlocal softtabstop=2
|
||||
setlocal shiftwidth=2
|
||||
6
after/ftplugin/lua.lua
Normal file
6
after/ftplugin/lua.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
local set = vim.bo
|
||||
|
||||
set.tabstop = 2
|
||||
set.softtabstop = 2
|
||||
set.expandtab = true
|
||||
set.shiftwidth = 2
|
||||
2
after/ftplugin/make.vim
Normal file
2
after/ftplugin/make.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
setl listchars=tab:\ \ ,trail:-
|
||||
setl noexpandtab
|
||||
6
after/ftplugin/nix.lua
Normal file
6
after/ftplugin/nix.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
local set = vim.bo
|
||||
|
||||
set.tabstop = 2
|
||||
set.softtabstop = 2
|
||||
set.expandtab = true
|
||||
set.shiftwidth = 2
|
||||
5
after/ftplugin/yaml.vim
Normal file
5
after/ftplugin/yaml.vim
Normal file
@@ -0,0 +1,5 @@
|
||||
setlocal expandtab
|
||||
setlocal tabstop=2
|
||||
setlocal softtabstop=2
|
||||
setlocal shiftwidth=2
|
||||
setlocal indentkeys -=<:>
|
||||
Reference in New Issue
Block a user