Skip to content

Commit

Permalink
Lx completion fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ediw8311xht committed Nov 15, 2024
1 parent f2c4c73 commit 77379ff
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
9 changes: 7 additions & 2 deletions nvim/lua/base.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ local gitsigns = require('gitsigns')
local marks = require('marks')
local lspstatus = require('lsp-status')
local cmp_capabilities = require('cmp_nvim_lsp').default_capabilities()
-- local texlab = require('texlab')

-- texlab.setup({})
-- local luasnip_latex_snips = require('luasnip_latex_snippets')
-- local cmp_dictionary = require("cmp_dictionary")
-- luasnip_latex_snips.setup({})
Expand Down Expand Up @@ -143,8 +146,9 @@ cmp.setup({
cmp.setup.filetype("tex", {
enabled = true,
sources = {
{ name = "latex_symbols" },
}
{ name = "nvim_lsp" },
{ name = "latex_symbols" },
},
})

-- cmp_dictionary.setup({
Expand Down Expand Up @@ -296,6 +300,7 @@ lspconfig.pyright.setup({
lspconfig.ccls.setup({
filetypes = {"c", "cpp"},
})
lspconfig.texlab.setup({})
-- lspconfig.sourcekit.setup({})
-- lspconfig.elixirls.setup{
-- credo = { enable = false },
Expand Down
3 changes: 2 additions & 1 deletion nvim/plugins.vim
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ let g:my_plugins = {
\ "vimwiki": [ 'vimwiki', 'vimwiki' ],
\ 'luarocks for nvim': [ 'theHamsta', 'nvim_rocks', {'do': 'pipx install hererocks && python3 -mhererocks . -j2.1.0-beta3 -r3.0.0 && cp nvim_rocks.lua lua'}],
\ 'vim latex': [ 'lervag', 'vimtex' ],
\ 'vim latex snippest': [ 'evesdropper', 'luasnip-latex-snippets.nvim' ],
\ 'latex lsp': [ 'latex-lsp', 'texlab' ],
\}
"\ 'vim latex snippest': [ 'evesdropper', 'luasnip-latex-snippets.nvim' ],

"vim closetag": [ 'alneotermvan', 'vim-closetag' ],
"match up": [ 'andymass', 'vim-matchup' ],
Expand Down

0 comments on commit 77379ff

Please sign in to comment.