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

推荐订阅源

D
Darknet – Hacking Tools, Hacker News & Cyber Security
V
Vulnerabilities – Threatpost
Cloudbric
Cloudbric
G
GRAHAM CLULEY
S
Securelist
Schneier on Security
Schneier on Security
Help Net Security
Help Net Security
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Project Zero
Project Zero
Spread Privacy
Spread Privacy
P
Privacy International News Feed
C
Cyber Attacks, Cyber Crime and Cyber Security
Cisco Talos Blog
Cisco Talos Blog
T
Tailwind CSS Blog
博客园_首页
有赞技术团队
有赞技术团队
Simon Willison's Weblog
Simon Willison's Weblog
Stack Overflow Blog
Stack Overflow Blog
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Latest news
Latest news
T
Tor Project blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Attack and Defense Labs
Attack and Defense Labs
www.infosecurity-magazine.com
www.infosecurity-magazine.com
O
OpenAI News
J
Java Code Geeks
T
Tenable Blog
K
Kaspersky official blog
AWS News Blog
AWS News Blog
S
Security @ Cisco Blogs
The GitHub Blog
The GitHub Blog
T
Threatpost
月光博客
月光博客
H
Heimdal Security Blog
Security Latest
Security Latest
The Hacker News
The Hacker News
Y
Y Combinator Blog
A
Arctic Wolf
Apple Machine Learning Research
Apple Machine Learning Research
C
Cisco Blogs
美团技术团队
Microsoft Security Blog
Microsoft Security Blog
Hugging Face - Blog
Hugging Face - Blog
T
The Blog of Author Tim Ferriss
C
CERT Recently Published Vulnerability Notes
D
Docker
Google Online Security Blog
Google Online Security Blog
D
DataBreaches.Net
V
Visual Studio Blog
H
Help Net Security

Neovim

AI 时代, Neovim/Vim 尚能饭否? - V2EX 开发了一个插件,解决 TS 的 LSP 返回的 inlay hint 太长的问题,实现类似 VSCode 的效果 - V2EX 自荐一个天气插件,方便同时对比 3 个城市的天气 - V2EX neovim 终于把开箱即用放到 roadmap 中了 blink-copilot - 同时支持 copilot.vim 和 copilot.lua 的 blink.cmp 代码补全源 - V2EX 写了一个代码行复制的 NeoVim 插件,用于快速与同事共享代码 - V2EX go-impl.nvim - 一个基于 impl 的 Go 接口实现插件 - V2EX 我的第一个 neovim 插件: gomodifytags.nvim - V2EX Neovim Java 开发环境 添加了 Sprint Boot LS 支持 - V2EX 请教关于 nvim 的消息框 ui 设置 - V2EX nvim-ts-rainbow 之类的插件会变卡 - V2EX 请教大佬们一个问题, Neovim 中每次 prisma generate 之后没办法立即识别生成的 client,所以没有代码提示,有什么好的办法吗? - V2EX 请教一下这个 neovim 的发光主题是啥 - V2EX 从锁屏返回后 Neovim-qt 卡死 - V2EX 推荐使用 LazyVim 配置 - V2EX 一个便于开发 telescope extension 的工具 - V2EX 自荐一套 nvim 配置 one.nvim - V2EX 如何在 Neovim 切换 Python 的虚拟环境? - V2EX 求推荐 nvim 配置主题 - V2EX feat: set cmdheight=0 刚刚合并了! - V2EX 我的这个 neovim init.vim 配置,怎么突然不能用了? - V2EX Nvim 0.5 shipped today - V2EX neovim 的设置文件或者插件目录,怎么设置成在 mac & windows 下面通用啊? - V2EX 为什么我安装不上去 neovim for Python ? ruby 也配置不好,我已经升级到最新了呢。 - V2EX 如何在 Neovim 中同时打开多个文件。 - V2EX 如何在 Neovim 和 Vim 中快速插入 Unicode 字符 - V2EX hello Neovim - V2EX
从 init.vim 迁移到 init.lua 有什么优势吗? - V2EX
Davic1 · 2022-10-21 · via Neovim

Davic1

 

Davic1 · 2022 年 10 月 21 日 · 2538 次点击

这是一个创建于 1332 天前的主题,其中的信息可能已经有所发展或是发生改变。

Lua 似乎对插件作者会友好一些。除此之外还有什么理由使用 init.lua 而不是 init.vim 吗?

在考虑要不要 all in lua.

===
我自己倒是发现使用 lua 对 vim 的组件( buffer window tab etc.)的配置更直观。

thedrwu

1

thedrwu      2022 年 10 月 21 日 via Android

搭车问一下 neovim 有跟进 :xrestore 的打算吗?

adoyle

2

adoyle      2022 年 11 月 14 日

优势就是用 lua 写配置比 vimscript 更轻松。写 vimscript 太难受了。用 lua 写的插件,配置项更灵活,更容易扩展,因为可以把 function 作为参数传递。

blessingsi

3

blessingsi      2023 年 2 月 8 日

越来越多的插件只支持 lua 配置,配置里面的 lua 代码越来越多,干脆全部迁移了。而且 vimscriput 用起来太难受了