after/lsp/<lsp_name>.lua doesnt work
#1931
Unanswered
renanvieira
asked this question in
Q&A
Replies: 1 comment
-
|
If you provide LSP configurations inside the return {
settings = {
Lua = {
runtime = {
version = 'LuaJIT',
},
diagnostics = {
globals = {
'vim',
'require',
},
},
},
},
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm following the instructions to setup using the new LSP api and I wanted my configs to be stored in separate files, like mentioned on the release example code.
I created two files as test for
basedpyrightandlua_lsneither have worked using theafter/folder. Let's use thelua_lsas example:File location:
~/.config/nvim/lua/after/lsp/lua_ls.luaThe LSP is loaded using default configuration, completely ignoring the config. What am I doing it wrong?
It works normal when I call this inside the lazy spec.
Beta Was this translation helpful? Give feedback.
All reactions