Skip to content

Turn off snippet jump points #470

Answered by telemachus
dotzenith asked this question in Q&A
Discussion options

You must be logged in to vote

This may or may not help, but I had the same problem, and it turns out that not every language server handles turning off snippets in the same way. For the Lua language server, for example, this works for me (as opposed to the standard that Parsifa1 mentions above).

lspconfig.lua_ls.setup({
    settings = {
        Lua = {
            -- There are other settings, but the following disables snippets.
            completion = {
                callSnippet = "Disable",
                keywordSnippet = "Disable",
            },
        },
    },
})

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@dotzenith
Comment options

@telemachus
Comment options

Answer selected by dotzenith
@dotzenith
Comment options

@Parsifa1
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants