stuff
This commit is contained in:
parent
282dc5662d
commit
eaeed514cf
8 changed files with 159 additions and 1 deletions
|
|
@ -43,6 +43,11 @@ M.capabilities.textDocument.completion.completionItem = {
|
|||
},
|
||||
}
|
||||
|
||||
require("lspconfig").gdscript.setup({
|
||||
on_attach = M.on_attach,
|
||||
capabilities = M.capabilities,
|
||||
})
|
||||
|
||||
require("lspconfig").lua_ls.setup {
|
||||
on_init = M.on_init,
|
||||
on_attach = M.on_attach,
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
local options = {
|
||||
ensure_installed = { "lua" },
|
||||
ensure_installed = {"vim", "vimdoc", "c", "markdown", "gdscript", "godot_resource", "bash", "lua", "elixir", "heex", "eex" },
|
||||
|
||||
highlight = {
|
||||
enable = true,
|
||||
|
|
|
|||
|
|
@ -225,6 +225,35 @@ local default_plugins = {
|
|||
end
|
||||
end,
|
||||
},
|
||||
{
|
||||
"elixir-tools/elixir-tools.nvim",
|
||||
version = "*",
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
config = function()
|
||||
local elixir = require("elixir")
|
||||
local elixirls = require("elixir.elixirls")
|
||||
|
||||
elixir.setup {
|
||||
nextls = {enable = true},
|
||||
credo = {},
|
||||
elixirls = {
|
||||
enable = true,
|
||||
settings = elixirls.settings {
|
||||
dialyzerEnabled = false,
|
||||
enableTestLenses = false,
|
||||
},
|
||||
on_attach = function(client, bufnr)
|
||||
vim.keymap.set("n", "<space>fp", ":ElixirFromPipe<cr>", { buffer = true, noremap = true })
|
||||
vim.keymap.set("n", "<space>tp", ":ElixirToPipe<cr>", { buffer = true, noremap = true })
|
||||
vim.keymap.set("v", "<space>em", ":ElixirExpandMacro<cr>", { buffer = true, noremap = true })
|
||||
end,
|
||||
}
|
||||
}
|
||||
end,
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
},
|
||||
},
|
||||
|
||||
-- Only load whichkey after all the gui
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue