diff options
| author | lucasbrg <lbergmanns@gmail.com> | 2024-09-17 02:39:08 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-17 13:39:08 +0800 |
| commit | eb36e0185ad4b92b0999fb698428f2966334d2c1 (patch) | |
| tree | 0c2d121669d25cdb173c31b92c83f7027f60c745 | |
| parent | chore: remove redundant flake-utils dependency; add nix-systems (diff) | |
| download | nvim-lspconfig-eb36e0185ad4b92b0999fb698428f2966334d2c1.tar nvim-lspconfig-eb36e0185ad4b92b0999fb698428f2966334d2c1.tar.gz nvim-lspconfig-eb36e0185ad4b92b0999fb698428f2966334d2c1.tar.bz2 nvim-lspconfig-eb36e0185ad4b92b0999fb698428f2966334d2c1.tar.lz nvim-lspconfig-eb36e0185ad4b92b0999fb698428f2966334d2c1.tar.xz nvim-lspconfig-eb36e0185ad4b92b0999fb698428f2966334d2c1.tar.zst nvim-lspconfig-eb36e0185ad4b92b0999fb698428f2966334d2c1.zip | |
fix(ltex-ls): command fails on windows when using mason (#3305)
| -rw-r--r-- | lua/lspconfig/server_configurations/ltex.lua | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lua/lspconfig/server_configurations/ltex.lua b/lua/lspconfig/server_configurations/ltex.lua index 6afc30a5..4a3ae0f4 100644 --- a/lua/lspconfig/server_configurations/ltex.lua +++ b/lua/lspconfig/server_configurations/ltex.lua @@ -10,11 +10,6 @@ local language_id_mapping = { text = 'plaintext', } -local bin_name = 'ltex-ls' -if vim.fn.has 'win32' == 1 then - bin_name = bin_name .. '.bat' -end - local filetypes = { 'bib', 'gitcommit', @@ -56,7 +51,7 @@ end return { default_config = { - cmd = { bin_name }, + cmd = { 'ltex-ls' }, filetypes = filetypes, root_dir = util.find_git_ancestor, single_file_support = true, |
