Created
December 16, 2021 19:33
-
-
Save pcranaway/51297fab120247529b5763ceef93a641 to your computer and use it in GitHub Desktop.
neovim nimlsp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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