From 8a0ce1be51377e3f61e22888be54bb36e7fda923 Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Mon, 2 Sep 2024 18:42:30 +0200 Subject: removed lazydev because it requires the newest nvim version --- after/syntax/log.vim | 2 +- after/syntax/markdown.vim | 12 ++++++------ lua/plugins/cmp.lua | 2 -- lua/plugins/lspsaga.lua | 10 ++++++++++ 4 files changed, 17 insertions(+), 9 deletions(-) create mode 100644 lua/plugins/lspsaga.lua diff --git a/after/syntax/log.vim b/after/syntax/log.vim index 44223e6..99b677f 100755 --- a/after/syntax/log.vim +++ b/after/syntax/log.vim @@ -14,7 +14,7 @@ syn match Info / INFO / fold syn match Pass / PASS / fold -silent! lvimgrep /[^ ]* \(ERROR\|WARNING\|FAIL\) / % +silent! lvimgrep /\(ERROR\|WARNING\|FAIL\)/ % lopen 12 diff --git a/after/syntax/markdown.vim b/after/syntax/markdown.vim index 7bdbf46..e012ee4 100755 --- a/after/syntax/markdown.vim +++ b/after/syntax/markdown.vim @@ -1,12 +1,12 @@ " Custom conceal " syntax region todolist start="^\s*[\+-\*x ]" end="\s" contained keepend - -syntax match markdownConceal "\[\ \]" contained conceal cchar= -syntax match markdownConceal "\[x\]" contained conceal cchar= -syntax match markdownConceal "*" contained conceal cchar= -syntax match markdownConceal "-" contained conceal cchar= -syntax match markdownConceal "+" contained conceal cchar= +syntax match markdownConceal "\[\ \]" conceal cchar=󰄱 +syntax match markdownConceal "\[x\]" conceal cchar=󰰰 +syntax match markdownConceal "\[v\]" conceal cchar=󰄵 +syntax match markdownConceal "*" conceal cchar= +syntax match markdownConceal "-" conceal cchar= +syntax match markdownConceal "+" conceal cchar= syntax region \ markdownItemization diff --git a/lua/plugins/cmp.lua b/lua/plugins/cmp.lua index f4766db..78605fa 100644 --- a/lua/plugins/cmp.lua +++ b/lua/plugins/cmp.lua @@ -12,7 +12,6 @@ return { 'hrsh7th/vim-vsnip', 'octaltree/cmp-look', 'folke/trouble.nvim', - 'folke/lazydev.nvim', { 'L3MON4D3/LuaSnip', config = function() @@ -34,7 +33,6 @@ return { config = function() require('trouble').setup() - require('lazydev').setup() local cmp = require'cmp' cmp.setup({ diff --git a/lua/plugins/lspsaga.lua b/lua/plugins/lspsaga.lua new file mode 100644 index 0000000..ff7867b --- /dev/null +++ b/lua/plugins/lspsaga.lua @@ -0,0 +1,10 @@ +return { + 'nvimdev/lspsaga.nvim', + config = function() + require('lspsaga').setup({}) + end, + dependencies = { + 'nvim-treesitter/nvim-treesitter', -- optional + 'nvim-tree/nvim-web-devicons', -- optional + } +} -- cgit v1.2.3