neovim configuration using rocks.nvim plugin manager
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: `vim.fn.has` returns number

+1 -1
+1 -1
lua/core/lsp/init.lua
··· 23 23 vim.api.nvim_create_autocmd("LspAttach", { 24 24 group = vim.api.nvim_create_augroup("UserLspAttach", { clear = false }), 25 25 callback = function(ev) 26 - if vim.fn.has("nvim-0.11") then 26 + if vim.fn.has("nvim-0.11") == 1 then 27 27 vim.lsp.completion.enable(true, ev.data.client_id, ev.buf, { autotrigger = false }) 28 28 end 29 29 end,