chore(config): imrpove neovim in vscode

main
sudo pacman -Syu 2022-07-31 01:30:59 +07:00
parent 2d90cdaa40
commit 018500046c
No known key found for this signature in database
GPG Key ID: D6CB5C6C567C47B0
1 changed files with 3 additions and 2 deletions

View File

@ -1,11 +1,12 @@
-- https://github.com/nanotee/nvim-lua-guide
vim.opt.virtualedit = "block"
vim.opt.whichwrap = "<,>,[,]"
-- https://github.com/vscode-neovim/vscode-neovim
if not vim.g.vscode then
vim.opt.completeopt = { "menuone", "noinsert", "noselect" }
vim.opt.swapfile = false
vim.opt.title = true
vim.opt.virtualedit = "block"
vim.opt.whichwrap = "<,>,[,]"
-- Line number
vim.opt.number = true