From 8cbfecc80bfdf127eb52e3d594ad4b8aac222cb7 Mon Sep 17 00:00:00 2001 From: Huanzo Date: Mon, 29 Nov 2021 09:09:47 +0100 Subject: [PATCH] add latex completions --- lua/completion.lua | 1 + lua/plugins.lua | 1 + 2 files changed, 2 insertions(+) diff --git a/lua/completion.lua b/lua/completion.lua index 39b7880..883d8ef 100644 --- a/lua/completion.lua +++ b/lua/completion.lua @@ -42,5 +42,6 @@ cmp.setup { { name = 'luasnip' }, { name = 'buffer' }, { name = 'path' }, + { name = 'latex_symbols' }, }, } diff --git a/lua/plugins.lua b/lua/plugins.lua index 35c8527..7ab33e4 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -64,6 +64,7 @@ return require('packer').startup({function() use 'saadparwaiz1/cmp_luasnip' use "hrsh7th/cmp-buffer" use "hrsh7th/cmp-path" + use 'kdheepak/cmp-latex-symbols' use 'nvim-treesitter/nvim-treesitter' use 'kyazdani42/nvim-web-devicons'