elixir updates

This commit is contained in:
Chris 2021-07-03 11:32:28 -04:00
parent dcdf5fd4ee
commit 98c4324084
3 changed files with 45 additions and 37 deletions

11
ftplugin/euphoria3.lua Normal file
View file

@ -0,0 +1,11 @@
-- TODO Remove this at some point
require'lspconfig'.elixirls.setup{
cmd = { DATA_PATH .. "/lspinstall/elixir/elixir-ls/language_server.sh"};
}
-- needed for the LSP to recognize elixir files (alternativly just use elixir-editors/vim-elixir)
-- vim.cmd([[
-- au BufRead,BufNewFile *.ex,*.exs set filetype=elixir
-- au BufRead,BufNewFile *.eex,*.leex,*.sface set filetype=eelixir
-- au BufRead,BufNewFile mix.lock set filetype=elixir
-- ]])