Skip to content

Instantly share code, notes, and snippets.

@pcranaway
Created December 16, 2021 19:33
Show Gist options
  • Save pcranaway/51297fab120247529b5763ceef93a641 to your computer and use it in GitHub Desktop.
Save pcranaway/51297fab120247529b5763ceef93a641 to your computer and use it in GitHub Desktop.
neovim nimlsp
require('lspconfig/configs').nimlsp = {
default_config = {
cmd = {'nimlsp'},
filetypes = {'nim'},
root_dir = require('lspconfig/util').root_pattern('*.nimble'),
settings = {},
}
}
require('lspconfig').nimlsp.setup({})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment