UTF-8 encoding
This commit is contained in:
parent
7af594fd31
commit
af14a5d527
2 changed files with 35 additions and 6 deletions
13
init.lua
13
init.lua
|
|
@ -202,15 +202,11 @@ require('lazy').setup({
|
|||
|
||||
{
|
||||
-- Theme inspired by Atom
|
||||
'navarasu/onedark.nvim',
|
||||
'rebelot/kanagawa.nvim',
|
||||
priority = 1000,
|
||||
lazy = false,
|
||||
config = function()
|
||||
require('onedark').setup {
|
||||
-- Set a style preset. 'dark' is default.
|
||||
style = 'dark', -- dark, darker, cool, deep, warm, warmer, light
|
||||
}
|
||||
require('onedark').load()
|
||||
vim.cmd.colorscheme('kanagawa')
|
||||
end,
|
||||
},
|
||||
|
||||
|
|
@ -289,6 +285,11 @@ require('lazy').setup({
|
|||
-- See `:help vim.o`
|
||||
-- NOTE: You can change these options as you wish!
|
||||
|
||||
-- set encoding to UTF-8
|
||||
vim.g.encoding = 'UTF-8'
|
||||
vim.g.fileencoding = 'UTF-8'
|
||||
vim.g.scriptencoding = 'UTF-8'
|
||||
|
||||
-- Set highlight on search
|
||||
vim.o.hlsearch = false
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue