Open Tokariew opened 1 year ago
I have a little problem when i have enabled cmdline source with the latex files. When i start inputing with \ for latex commands it give me errors:
\
Error detected while processing TextChangedI Autocommands for "*": E10: \ should be followed by /, ? or &
when i disable cmdline source it seems ok.
I use luasnip with friendly-snippets
I have a little problem when i have enabled cmdline source with the latex files. When i start inputing with
\
for latex commands it give me errors:when i disable cmdline source it seems ok.
I use luasnip with friendly-snippets
My cmp config
``` local cmp = require 'cmp' local luasnip = require 'luasnip' require("luasnip.loaders.from_vscode").lazy_load() luasnip.config.setup {} local kind_icons = { Text = "", Method = "", Function = "", Constructor = "", Field = "", Variable = "", Class = "", Interface = "", Module = "", Property = "", Unit = "", Value = "", Enum = "", Keyword = "", Snippet = "", Color = "", File = "", Reference = "", Folder = "", EnumMember = "", Constant = "", Struct = "", Event = "", Operator = "", TypeParameter = "", } cmp.setup { snippet = { expand = function(args) luasnip.lsp_expand(args.body) end, }, mapping = cmp.mapping.preset.insert { ['