my demo first config lua

This commit is contained in:
2023-12-13 00:27:19 +03:00
commit 61e95391fb
268 changed files with 12847 additions and 0 deletions

View 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
View File

@@ -0,0 +1,2 @@
set nofoldenable
set colorcolumn=

3
after/ftplugin/go.vim Normal file
View 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
View File

@@ -0,0 +1,4 @@
setlocal expandtab
setlocal tabstop=2
setlocal softtabstop=2
setlocal shiftwidth=2

6
after/ftplugin/lua.lua Normal file
View 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
View File

@@ -0,0 +1,2 @@
setl listchars=tab:\ \ ,trail:-
setl noexpandtab

6
after/ftplugin/nix.lua Normal file
View 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
View File

@@ -0,0 +1,5 @@
setlocal expandtab
setlocal tabstop=2
setlocal softtabstop=2
setlocal shiftwidth=2
setlocal indentkeys -=<:>