From 2143b6d5a13d4871764c14758fa90d1d0e0bb602 Mon Sep 17 00:00:00 2001 From: yannickreiss Date: Mon, 20 May 2024 07:36:17 +0200 Subject: [PATCH] Remove lua and replace pylsp --- UltiSnips/tex.snippets | 6 ++++++ lua/code-completion.lua | 3 +-- lua/plugconfig.lua | 3 --- lua/plugins.lua | 1 - lua/vanilla.lua | 1 + 5 files changed, 8 insertions(+), 6 deletions(-) diff --git a/UltiSnips/tex.snippets b/UltiSnips/tex.snippets index fd1dc31..095f8da 100644 --- a/UltiSnips/tex.snippets +++ b/UltiSnips/tex.snippets @@ -488,3 +488,9 @@ endsnippet snippet cc "Cite" iA \\cite{$1}$0 endsnippet + +snippet setenv "Set Environment around Text" b +\\begin{$1} +${VISUAL} +\\end{$1}$0 +endsnippet diff --git a/lua/code-completion.lua b/lua/code-completion.lua index 2a29fd0..55bf11b 100644 --- a/lua/code-completion.lua +++ b/lua/code-completion.lua @@ -54,7 +54,7 @@ cmp.setup({ { name = "path" }, { name = "nvim_lsp", keyword_length = 2 }, { name = "nvim_lsp_signature_help" }, - { name = "nvim_lua", keyword_length = 2 }, + -- { name = "nvim_lua", keyword_length = 2 }, { name = "buffer", keyword_length = 2 }, { name = "calc" }, { name = "lua-latex-symbols", option = { cache = true } }, @@ -131,4 +131,3 @@ cmp.setup.cmdline(":", { end, }, }) - diff --git a/lua/plugconfig.lua b/lua/plugconfig.lua index 33acb06..6ee92ed 100644 --- a/lua/plugconfig.lua +++ b/lua/plugconfig.lua @@ -45,9 +45,6 @@ vim.g.NERDTreeDirArrowCollapsible = "▾" vim.g.gitblame_message_template = " => " vim.g.gitblame_date_format = "%r" --- Intendation basics -require("ibl").setup() - -- Code completion require("code-completion") diff --git a/lua/plugins.lua b/lua/plugins.lua index 42a720d..ef471fa 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -34,7 +34,6 @@ return { "yannickreiss/nvim-doxyscan", "nvim-tree/nvim-web-devicons", { "romgrk/barbar.nvim", wants = "nvim-web-devicons" }, - { "lukas-reineke/indent-blankline.nvim", main = "ibl", opts = {} }, "dstein64/vim-startuptime", "mhinz/vim-startify", "folke/tokyonight.nvim", diff --git a/lua/vanilla.lua b/lua/vanilla.lua index 8e7d508..69a7534 100644 --- a/lua/vanilla.lua +++ b/lua/vanilla.lua @@ -39,3 +39,4 @@ vim.opt.mouse = "" -- set copy mode vim.keymap.set("n", "ll", ":set nonumber") vim.keymap.set("n", "lm", ":set number") +