Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
glepnir committed Jan 20, 2025
1 parent 9dd8a00 commit d6ebe32
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 616 deletions.
1 change: 1 addition & 0 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ _G.program_ft = {
'html',
'markdown',
'text',
'help',
}
_G.is_mac = vim.uv.os_uname().sysname == 'Darwin'

Expand Down
6 changes: 3 additions & 3 deletions lua/internal/completion.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ local function auto_trigger(bufnr, client)
'triggerCharacters'
) or {}
if vim.v.char:match('[%w_]') and not vim.list_contains(triggerchars, vim.v.char) then
completion.trigger()
vim.schedule(function()
completion.trigger()
end)
end
end,
})
Expand All @@ -53,5 +55,3 @@ au('LspAttach', {
end
end,
})

require('internal.server').setup()
Loading

0 comments on commit d6ebe32

Please sign in to comment.