Skip to content

Commit

Permalink
fix: register awk client to account for custom executable (#4181)
Browse files Browse the repository at this point in the history
  • Loading branch information
nverno authored Oct 18, 2023
1 parent 6169983 commit a1e86f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion clients/lsp-awk.el
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

(lsp-register-client
(make-lsp-client
:new-connection (lsp-stdio-connection lsp-awk-executable)
:new-connection (lsp-stdio-connection (lambda () lsp-awk-executable))
:activation-fn (lsp-activate-on "awk")
:priority -1
:server-id 'awkls))
Expand Down
1 change: 1 addition & 0 deletions lsp-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -789,6 +789,7 @@ Changes take effect only when a new session is started."
("^settings.json$" . "jsonc")
(ada-mode . "ada")
(awk-mode . "awk")
(awk-ts-mode . "awk")
(nxml-mode . "xml")
(sql-mode . "sql")
(vimrc-mode . "vim")
Expand Down

0 comments on commit a1e86f6

Please sign in to comment.