Skip to content

Commit 4900599

Browse files
committed
feat: deal with gbk encoding
1 parent 1df2ce3 commit 4900599

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

init.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ vim.o.scrolloff = 10
166166
-- See `:help 'confirm'`
167167
vim.o.confirm = true
168168

169+
vim.opt.fileencodings = 'utf-8,gbk'
169170
-- [[ Basic Keymaps ]]
170171
-- See `:help vim.keymap.set()`
171172

0 commit comments

Comments
 (0)