feat: .lua_ls.rc won't fix all issues
This commit is contained in:
parent
b57dc94d3a
commit
b27714866f
3 changed files with 7 additions and 14 deletions
14
.luarc.json
14
.luarc.json
|
|
@ -1,14 +0,0 @@
|
|||
{
|
||||
"runtime.version": "LuaJIT",
|
||||
"runtime.path": [
|
||||
"lua/?.lua",
|
||||
"lua/?.init.lua"
|
||||
],
|
||||
"diagnostics.globals": [
|
||||
"vim"
|
||||
],
|
||||
"workspace.checkThirdParty": false,
|
||||
"workspace.library": [
|
||||
"$VIMRUNTIME"
|
||||
]
|
||||
}
|
||||
|
|
@ -34,3 +34,6 @@ vim.lsp.enable({
|
|||
|
||||
-- diagnostic settings
|
||||
vim.diagnostic.config({ virtual_text = true })
|
||||
|
||||
-- fix annoying lua lsp errors
|
||||
require("lazydev").setup()
|
||||
|
|
|
|||
|
|
@ -4,6 +4,10 @@
|
|||
"rev": "5e0a460",
|
||||
"src": "https://github.com/ellisonleao/gruvbox.nvim"
|
||||
},
|
||||
"lazydev.nvim": {
|
||||
"rev": "e28ce52",
|
||||
"src": "https://github.com/folke/lazydev.nvim"
|
||||
},
|
||||
"mini.nvim": {
|
||||
"rev": "cf32454",
|
||||
"src": "https://github.com/nvim-mini/mini.nvim"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue