From 018500046c5fef50bde9b55e6a7ea0e2be2741f6 Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Sun, 31 Jul 2022 01:30:59 +0700 Subject: [PATCH] chore(config): imrpove neovim in vscode --- data/nvim/init.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/data/nvim/init.lua b/data/nvim/init.lua index 64134d6..2731526 100644 --- a/data/nvim/init.lua +++ b/data/nvim/init.lua @@ -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