Skip to content
Discussion options

You must be logged in to vote

Interesing, for me in Lua files lua_ls contains this:

Oh, my bad. I forgot that I adjust that manually.

Can I edit the tiggerCharacters in the server config?

Of course. If you use Neovim>=0.11 and vim.lsp.enable() approach, then it is the matter of creating an 'after/lsp/lua_ls.lua' file that returns a table with a relevant on_attach method. Here is an example. The similar approach is for other LSP servers by replacing the lua_ls file name with LSP server's name (which is used in vim.lsp.enable()).

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@huesersohn
Comment options

@echasnovski
Comment options

Answer selected by echasnovski
@huesersohn
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested mini.completion mini.snippets
2 participants