fix windows check

This commit is contained in:
2022-02-15 21:57:14 +03:00
parent c7293762b0
commit 3ea6985579

View File

@@ -57,7 +57,7 @@ null_ls.setup({
vim.cmd([[autocmd BufWritePre *.svelte lua vim.lsp.buf.formatting_sync(nil, 1000)]])
local completion_trigger = "<C-space>"
if vim.fn.has("win32") then
if vim.fn.has("win32") == 1 then
completion_trigger = "<C-y>"
end