惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Recent Announcements
Recent Announcements
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
B
Blog
T
The Blog of Author Tim Ferriss
J
Java Code Geeks
腾讯CDC
D
Docker
G
Google Developers Blog
D
DataBreaches.Net
雷峰网
雷峰网
Blog — PlanetScale
Blog — PlanetScale
S
SegmentFault 最新的问题
The Cloudflare Blog
有赞技术团队
有赞技术团队
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Stack Overflow Blog
Stack Overflow Blog
大猫的无限游戏
大猫的无限游戏
量子位
美团技术团队
aimingoo的专栏
aimingoo的专栏
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Engineering at Meta
Engineering at Meta
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More

核桃的炼金工坊

2023 韩国游记 C++23: Flat Containers Deducing This Stateful Metaprogramming 推し、燃ゆ Customization Point Object 2020 总结 搞了个 C++ 构建系统 软件设计哲学(NOTE) Paxos Note 关于 cpp 可见性的黑魔法后门 一个关于 private member function detect 的 SFINAE 模板 User-defined conversion and Copy elision Compare Between CRTP and Virtual Interface in C++ Compile Time Reflection in C++11 C++11内存模型 在C++17中的部分新特性 Const Reference of Pointer
VIM and Latex
Hawtian Wang · 2019-03-27 · via 核桃的炼金工坊

起源是在群里看到了有人分享的关于一个人用 vimlatex 的文章,但是它的做法是用了一个 vimtex 的独立插件。 我是个 language server 的狂热使用者,所以我就在找一个用 language server 的处理方案。回忆起来另一次在另一个群里看到的,一个叫做 texlab 的项目,就在 vim 里搞个配合。

vim 里的 language client 的实现用好几种:

用来用去还是 coc.nvim 在这里面不论是流畅度还是 feature 的丰富程度都是比较好的。所以我也一直在用。

install coc.nvim:

call dein#add('neoclide/coc.nvim', {'build': 'yarn install'})

install texlab:

git clone https://github.com/latex-lsp/texlab
yarn install && yarn build

config in coc.nvim

"texlab": {
  "command": "node",
  "args": [
    "/path/to/texlab/dist/texlab.js", "--stdio"
  ],
  "filetypes": ["tex", "plaintex"],
  "trace.server": "verbose"
}