mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2023-02-13 20:55:19 -05:00
Fixing minor error in Nvim config
This commit is contained in:
parent
0517251ba5
commit
5ca6ac2147
3 changed files with 4 additions and 5 deletions
|
@ -1,14 +1,14 @@
|
|||
[xin_0]
|
||||
file=/home/dt/wallpapers/0063.jpg
|
||||
file=/home/dt/wallpapers/0137.jpg
|
||||
mode=0
|
||||
bgcolor=#000000
|
||||
|
||||
[xin_1]
|
||||
file=/home/dt/wallpapers/0063.jpg
|
||||
file=/home/dt/wallpapers/0137.jpg
|
||||
mode=0
|
||||
bgcolor=#000000
|
||||
|
||||
[xin_2]
|
||||
file=/home/dt/wallpapers/0063.jpg
|
||||
file=/home/dt/wallpapers/0137.jpg
|
||||
mode=0
|
||||
bgcolor=#000000
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
local g = vim.g
|
||||
local o = vim.o
|
||||
local opt = vim.opt
|
||||
local A = vim.api
|
||||
|
||||
-- cmd('syntax on')
|
||||
-- vim.api.nvim_command('filetype plugin indent on')
|
||||
|
|
|
@ -20,7 +20,7 @@ local ok, _ = pcall(vim.cmd, "colorscheme base16-onedark")
|
|||
-- local ok, _ = pcall(vim.cmd, 'colorscheme base16-tomorrow-night')
|
||||
|
||||
-- Highlight the region on yank
|
||||
A.nvim_create_autocmd("TextYankPost", {
|
||||
vim.api.nvim_create_autocmd("TextYankPost", {
|
||||
group = num_au,
|
||||
callback = function()
|
||||
vim.highlight.on_yank({ higroup = "Visual", timeout = 120 })
|
||||
|
|
Loading…
Reference in a new issue