Skip to content

Commit

Permalink
Remove custom elixir_ls installation
Browse files Browse the repository at this point in the history
I switched to using the native neovim LSP integration, and
`nvim-lspconfig` is significantly better maintained than the various
`coc-*` packages, so we no longer need this.
  • Loading branch information
alexblackie committed Sep 3, 2023
1 parent eb20fff commit c59afe0
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions roles/development_workstation/tasks/neovim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,3 @@
creates: "{{ home }}/.local/bin/nvim"
tags:
- neovim

- name: Install the Elixir language server manually
tags:
- neovim
- lsp
block:
- name: Clone elixir-ls
ansible.builtin.git:
repo: https://github.com/elixir-lsp/elixir-ls.git
dest: "{{ third_party_src }}/elixir-ls"
update: true
force: true

# We won't have elixir installed yet, so we just dump the commands into a
# script to at least make it easier for manual execution later.
- name: Add build script
ansible.builtin.copy:
content: "mix deps.get && mix compile && mix elixir_ls.release -o release"
dest: "{{ third_party_src }}/elixir-ls/build.sh"
mode: "0755"

0 comments on commit c59afe0

Please sign in to comment.