Skip to content

Commit 37e66aa

Browse files
committed
Fix detecting tab size
fix #5
1 parent e826303 commit 37e66aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/neocodeium/completer.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ local Completer = {
8282
---@return editor_options
8383
local function get_editor_opts()
8484
return {
85-
tab_size = vim.bo.shiftwidth,
85+
tab_size = fn.shiftwidth(),
8686
insert_spaces = vim.bo.expandtab,
8787
}
8888
end

0 commit comments

Comments
 (0)