Skip to content

Commit

Permalink
Fix not detecting wrong buffer encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
monkoose committed Sep 8, 2024
1 parent 8093c2e commit e26aba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/neocodeium/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ local function enable_autocmds()
local doc = require("neocodeium.doc")

local function utf8_or_latin1()
local encoding = vim.o.encoding
local encoding = vim.o.fileencoding
return encoding == "utf-8" or encoding == "latin1"
end

Expand Down

0 comments on commit e26aba9

Please sign in to comment.