2024-06-13 13:22:15 -05:00
|
|
|
if not vim.fn.executable("nim") then
|
|
|
|
return
|
|
|
|
end
|
|
|
|
|
2023-11-30 14:25:23 -06:00
|
|
|
return {
|
2024-01-16 13:56:36 -06:00
|
|
|
require("util").setup_lang({ treesitter = { "nim", "nim_format_string" } }),
|
|
|
|
{
|
|
|
|
"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
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2023-11-30 14:25:23 -06:00
|
|
|
}
|