master #1

Open
oli wants to merge 912 commits from master into lua
Showing only changes of commit edc73d3639 - Show all commits

View File

@@ -27,7 +27,7 @@ vim.keymap.set('x', '>', '>gv')
local function hlWord() local function hlWord()
local current_word = vim.call('expand','<cword>') local current_word = vim.call('expand','<cword>')
vim.fn.setreg('/', current_word) vim.fn.setreg('/', "\\<" .. current_word .. "\\>")
vim.api.nvim_command "set hlsearch" vim.api.nvim_command "set hlsearch"
end end
-- Highlight word under cursor -- Highlight word under cursor