1
- *elixir-tools.nvim.txt* For NVIM v0.8.0 Last change: 2024 June 14
1
+ *elixir-tools.nvim.txt* For NVIM v0.8.0 Last change: 2024 July 05
2
2
3
3
==============================================================================
4
4
Table of Contents *elixir-tools.nvim-table-of-contents*
@@ -14,7 +14,6 @@ Table of Contents *elixir-tools.nvim-table-of-contents*
14
14
4. Features | elixir-tools.nvim-features |
15
15
- Commands | elixir-tools.nvim-features-commands |
16
16
- Next LS | elixir-tools.nvim-features-next-ls |
17
- - Credo Language Server | elixir-tools.nvim-features-credo-language-server |
18
17
- ElixirLS | elixir-tools.nvim-features-elixirls |
19
18
- Mix | elixir-tools.nvim-features-mix |
20
19
- Projectionist | elixir-tools.nvim-features-projectionist |
@@ -40,7 +39,6 @@ with Neovim <https://github.com/neovim/neovim>.
40
39
FEATURES *elixir-tools.nvim-overview-features*
41
40
42
41
- Next LS <https://github.com/elixir-tools/next-ls > installation and configuration.
43
- - Credo Language Server <https://github.com/elixir-tools/credo-language-server > installation and configuration.
44
42
- ElixirLS <https://github.com/elixir-lsp/elixir-ls > installation and configuration.
45
43
- `:Mix` command with autocomplete
46
44
- vim-projectionist <https://github.com/tpope/vim-projectionist > support
@@ -65,7 +63,6 @@ LAZY.NVIM *elixir-tools.nvim-install-lazy.nvim*
65
63
66
64
elixir.setup {
67
65
nextls = {enable = true},
68
- credo = {},
69
66
elixirls = {
70
67
enable = true,
71
68
settings = elixirls.settings {
@@ -100,21 +97,20 @@ PACKER.NVIM *elixir-tools.nvim-install-packer.nvim*
100
97
101
98
MINIMAL SETUP *elixir-tools.nvim-getting-started-minimal-setup*
102
99
103
- The minimal setup will configure both ElixirLS and credo-language-server .
100
+ The minimal setup will configure both ElixirLS but not Next LS .
104
101
105
102
>lua
106
103
require("elixir").setup()
107
104
<
108
105
109
- Next LS, ElixirLS, and Credo Language Server can be enabled/disabled by setting
110
- the ` enable ` flag in the respective options table.
106
+ Next LS and ElixirLS can be enabled/disabled by setting the ` enable ` flag in
107
+ the respective options table.
111
108
112
109
The defaults are shown below.
113
110
114
111
>lua
115
112
require("elixir").setup({
116
113
nextls = {enable = false},
117
- credo = {enable = true},
118
114
elixirls = {enable = true},
119
115
})
120
116
<
@@ -150,15 +146,7 @@ some personal configuration.
150
146
-- custom keybinds
151
147
end
152
148
},
153
- credo = {
154
- enable = true, -- defaults to true
155
- port = 9000, -- connect via TCP with the given port. mutually exclusive with `cmd` . defaults to nil
156
- cmd = "path/to/credo-language-server", -- path to the executable. mutually exclusive with `port`
157
- version = "0.1.0-rc.3", -- version of credo-language-server to install and use. defaults to the latest release
158
- on_attach = function(client, bufnr)
159
- -- custom keybinds
160
- end
161
- },
149
+ ,
162
150
elixirls = {
163
151
-- specify a repository and branch
164
152
repo = "mhanberg/elixir-ls", -- defaults to elixir-lsp/elixir-ls
@@ -249,19 +237,6 @@ COMMANDS ~
249
237
Next LS command are available as subcommands of the `:Elixir` command
250
238
251
239
252
- CREDO LANGUAGE SERVER *elixir-tools.nvim-features-credo-language-server*
253
-
254
-
255
- **Note** Credo Language Server integration utilizes `Mix.install/2 ` , so you
256
- must be running Elixir >= 1.12
257
-
258
- **Note** Credo Language Server creates a `.elixir- tools` directory in your
259
- project root. You’ll want to add that to your gitignore.
260
- - Uses your project’s Credo version.
261
- - Full project diagnostics
262
- - Code Actions
263
-
264
-
265
240
ELIXIRLS *elixir-tools.nvim-features-elixirls*
266
241
267
242
0 commit comments