style(vim): add lua style and luacheck and format lsp config again
This commit is contained in:
parent
2670607006
commit
615413d6e2
3 changed files with 59 additions and 41 deletions
12
.luacheckrc
Normal file
12
.luacheckrc
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
-- Rerun tests only if their modification time changed.
|
||||
cache = true
|
||||
|
||||
std = luajit
|
||||
codes = true
|
||||
|
||||
self = false
|
||||
|
||||
-- Global objects defined by the C code
|
||||
read_globals = {
|
||||
"vim",
|
||||
}
|
||||
6
.stylua.toml
Normal file
6
.stylua.toml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
column_width = 120
|
||||
line_endings = "Unix"
|
||||
indent_type = "Spaces"
|
||||
indent_width = 2
|
||||
quote_style = "AutoPreferDouble"
|
||||
call_parentheses = "None"
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
local lspconfig = require("lspconfig")
|
||||
local lspconfig = require "lspconfig"
|
||||
|
||||
local servers = {
|
||||
-- Language servers for the day to day web development, could probably think
|
||||
|
|
|
|||
Loading…
Reference in a new issue