diff options
author | sinanmohd <sinan@firemail.cc> | 2023-09-30 17:38:26 +0530 |
---|---|---|
committer | sinanmohd <sinan@firemail.cc> | 2023-09-30 17:39:42 +0530 |
commit | 671c1f489e318b2742c294fead82e41e26cab5f6 (patch) | |
tree | f5432a362cd879205504561a2b51c76a8e20f50c /.config | |
parent | 75fba35ab32478fc709c0ae34e24e5a3322d1207 (diff) |
config/nvim/lua_ls: mpv init
Diffstat (limited to '.config')
-rw-r--r-- | .config/nvim/init.lua | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index 0d5f9e8..01df7e6 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -222,7 +222,15 @@ require("lspconfig").ccls.setup { require("lspconfig").bashls.setup {} require("lspconfig").nil_ls.setup {} require'lspconfig'.pyright.setup {} -require("lspconfig").lua_ls.setup(lsp.nvim_lua_ls()) +require("lspconfig").lua_ls.setup(lsp.nvim_lua_ls({ + settings = { + Lua = { + diagnostics = { + globals = {'mp'} -- mpv global + } + } + } +})) lsp.setup() |