Skip to content

Completing functions snippets with tabstops #731

Answered by hrsh7th
tinny-blueleo asked this question in Q&A
Discussion options

You must be logged in to vote

My sumneko lua settings are the following.

  require'lspconfig'.sumneko_lua.setup {
    on_init = on_init;
    capabilities = capabilities,
    cmd = {
      vim.fn.expand('~/Develop/Repo/lua-language-server/bin/macOS/lua-language-server'),
      "-E",
      vim.fn.expand('~/Develop/Repo/lua-language-server/main.lua'),
    };
    settings = {
      Lua = {
        runtime = {
          version = 'LuaJIT',
        },
        completion = {
          callSnippet = 'Replace',
        },
        diagnostics = {
          enable = true,
          globals = {
            "vim", "describe", "it", "before_each", "after_each"
          }
        },
        workspace = {
          library = {
     …

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by tinny-blueleo
Comment options

You must be logged in to vote
2 replies
@hrsh7th
Comment options

@tinny-blueleo
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
2 participants