Skip to content

Commit

Permalink
fix(efm): set init_options to enable format and code action.
Browse files Browse the repository at this point in the history
  • Loading branch information
milanglacier committed Jul 29, 2023
1 parent b609127 commit 51ac3da
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lua/lspconfig/server_configurations/efm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ return {
cmd = { 'efm-langserver' },
root_dir = util.find_git_ancestor,
single_file_support = true,
init_options = {
documentFormatting = true,
documentRangeFormatting = true,
hover = true,
codeAction = true,
},
},

docs = {
Expand Down

0 comments on commit 51ac3da

Please sign in to comment.