From 89e8caf263c8335b5844a0a309949ae35920d3fd Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Mon, 26 Jun 2023 14:51:41 +0200 Subject: [PATCH] Add eyeliner plugin to nvim --- vim/lua/plugins.lua | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/vim/lua/plugins.lua b/vim/lua/plugins.lua index bdcd02e..510886e 100644 --- a/vim/lua/plugins.lua +++ b/vim/lua/plugins.lua @@ -1,4 +1,4 @@ -function use(plugins) +local function use(plugins) return require('packer').startup(function(use) for _, plugin in ipairs(plugins) do use(plugin) @@ -9,7 +9,7 @@ end use { 'neovim/nvim-lspconfig'; { 'nvim-telescope/telescope.nvim', requires = { 'nvim-lua/plenary.nvim' } }; - { 'nvim-treesitter/nvim-treesitter', { cmd = 'TSUpdate' } }; + { 'nvim-treesitter/nvim-treesitter', { cmd = ':TSUpdate' } }; { 'nvim-neo-tree/neo-tree.nvim', branch = "v2.x", requires = { @@ -17,7 +17,13 @@ use { "nvim-tree/nvim-web-devicons", -- not strictly required, but recommended "MunifTanjim/nui.nvim", } - }, + }; + { 'jinh0/eyeliner.nvim', config = function() + require('eyeliner').setup { + highlight_on_key = true; + dim = true; + } + end}; 'leafo/moonscript-vim'; 'pigpigyyy/Yuescript-vim'; 'vim-scripts/openscad.vim';