Skip to content

Commit

Permalink
ci: update luacheckrc + add luarc + delete neoconf stuff + add editor…
Browse files Browse the repository at this point in the history
…config
  • Loading branch information
cbochs committed Apr 9, 2024
1 parent fcca9e8 commit 85a813b
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 42 deletions.
5 changes: 5 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
root = true

[*]
indent_style = space
indent_size = 4
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
.tests
.luarc.json
20 changes: 19 additions & 1 deletion .luacheckrc
Original file line number Diff line number Diff line change
@@ -1 +1,19 @@
read_globals = { "vim" }
stds.nvim = {
read_globals = { "jit" },
}
std = "lua51+nvim"

read_globals = {
"vim",
}

globals = {
"vim.g",
"vim.b",
"vim.w",
"vim.o",
"vim.bo",
"vim.wo",
"vim.go",
"vim.env",
}
14 changes: 14 additions & 0 deletions .luarc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"$schema": "https://raw.githubusercontent.com/LuaLS/vscode-lua/master/setting/schema.json",
"diagnostics.globals": ["vim"],
"runtime.version": "LuaJIT",
"workspace.checkThirdParty": false,
"workspace.library": [
"lua",
"$VIMRUNTIME/lua",
"${3rd}/busted/library",
"${3rd}/luv/library"
],
"completion.callSnippet": "Disable",
"completion.keywordSnippet": "Disable"
}
13 changes: 0 additions & 13 deletions .neoconf.json

This file was deleted.

27 changes: 0 additions & 27 deletions neovim.yml

This file was deleted.

0 comments on commit 85a813b

Please sign in to comment.