This commit is contained in:
Wenwen Zhang 2024-06-02 18:31:32 +08:00
parent 5f6f2fefb9
commit 377a330e11

View File

@ -8,7 +8,6 @@ local Plug = vim.fn['plug#']
vim.cmd('filetype plugin indent on') vim.cmd('filetype plugin indent on')
vim.cmd('syntax enable') vim.cmd('syntax enable')
vim.cmd('set nu')
@ -30,6 +29,7 @@ vim.call('plug#end')
-- optionally enable 24-bit colour -- optionally enable 24-bit colour
vim.opt.termguicolors = true vim.opt.termguicolors = true
vim.opt.nu = true
-- empty setup using defaults -- empty setup using defaults
require("nvim-tree").setup({ require("nvim-tree").setup({
@ -47,10 +47,11 @@ require("nvim-tree").setup({
}, },
}) })
-- for vimtex
require("vimtex").setup({ -- Viewer options: One may configure the viewer either by specifying a built-in
viewer={ -- viewer method:
method = 'zathura', let g:vimtex_view_method = 'zathura'
},
})