2024-06-14 14:14:58 -05:00
|
|
|
local util = require("util")
|
2024-06-13 13:22:15 -05:00
|
|
|
|
2024-06-14 14:14:58 -05:00
|
|
|
return util.if_exe("nim", {
|
|
|
|
util.setup_lang({ treesitter = { "nim", "nim_format_string" } }),
|
|
|
|
{ "alaviss/nim.nvim" },
|
2024-01-16 13:56:36 -06:00
|
|
|
{
|
|
|
|
"neovim/nvim-lspconfig",
|
|
|
|
opts = {
|
|
|
|
servers = {
|
2024-02-20 04:46:11 -06:00
|
|
|
nim_langserver = {
|
2024-01-16 13:56:36 -06:00
|
|
|
mason = false,
|
2024-06-13 13:22:15 -05:00
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2024-06-14 14:14:58 -05:00
|
|
|
})
|