![]() Two other plugins which I find useful are A nice feature of vimtex is the auto-completion for citations. Install coc-vimtex to make it a source of completion for coc. Vimtex is package which provides some help in editing LaTeX and compling. Together with vim-snippets, coc also provides code snippets. ![]() So I chanced to curly underline by hi default CocUnderline cterm=underline gui=undercurl ![]() This is confusing as there are many "_" in a math paper. But by default, the parts where there is a warning are marked by an underline. To make it work better with LaTeX, you should install the extension coc-texlab.Ĭoc-texlab also provides some extra functions such as basic syntax check. The example configuration on the website works quite well. Here are the plugins which I have installed for LaTeX (all codes snippets are from my. VIM 8 has quite a convenient plugin system vim-plug. So here's my new VIM setup for LaTeX in 2021 and perhaps for the next decade. That been said, a decade seems to be a good time to have an update. One advantage of using VIM is that once you have learned it, you can expect to use it for a life time. My setup for this has not changed for most of the time. (/Users/xueg/.config/coc/extensions/node_modules/coc-snippets/lib/index.I have been using VIM (actually GVIM) to write papers with LaTeX for almost a decade now. T14:01:43.137 ERROR (pid:67582) - TypeError: Class extends value undefined is not a constructor or nullĪt Object. ![]() (/Users/xueg/.config/coc/extensions/node_modules/coc-snippets/lib/index.js:9:43) (/Users/xueg/.config/coc/extensions/node_modules/coc-snippets/lib/list/snippet.js:12:39)Īt Module._compile (/snapshot/coc.nvim/lib/util/factory.js:58:32)Īt Object.Module._extensions.js (module.js:644:10)Īt Function.Module._load (module.js:487:3)Īt Module.require (pkg/prelude/bootstrap.js:1159:31)Īt req (/snapshot/coc.nvim/lib/util/factory.js:37:21)Īt Object. T14:01:35.208 ERROR (pid:66437) - TypeError: Class extends value undefined is not a constructor or nullĪt Object. When using the completion menu to expand the snippet, the issue doesn't occur. I've not experienced the issue with snippets that I've tested which contains more than one placeholder either, like fun and let for javascript and cl for python.Īll of the mentioned snippets are from honza/vim-snippets. Src/index.ts:159:6 - error TS2345: Argument of type ' doesn't trigger the issue, like ct, /** and jsonp for javascript and " for python. Warning : The engine "coc" appears to be invalid. : Uncaught exception: Error: multiple line pattern not supportedĪt nvertRegex (/home/xxx/.config/coc/extensions/node_modules/coc-snippets/lib/util.js:133:15)Īt body.replace (/home/xxx/.config/coc/extensions/node_modules/coc-snippets/lib/ultisnipsParser.js:64:40)Īt Interface.rl.on.line (/home/xxx/.config/coc/extensions/node_modules/coc-snippets/lib/ultisnipsParser.js:63:29)Īt Interface._onLine (readline.js:308:10)Īt Interface._normalWrite (readline.js:449:12)Īt ReadStream.ondata (readline.js:165:10) OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,ĭAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,ĮXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES In all copies or substantial portions of the Software. The above copyright notice and this permission notice shall be included Software is furnished to do so, subject to the following conditions: The rights to use, copy, modify, merge, publish, distribute, sublicense,Īnd/or sell copies of the Software, and to permit persons to whom the To deal in the Software without restriction, including without limitation Permission is hereby granted, free of charge, to any person obtainingĪ copy of this software and associated documentation files (the "Software"),
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |