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

推荐订阅源

MyScale Blog
MyScale Blog
博客园 - 三生石上(FineUI控件)
人人都是产品经理
人人都是产品经理
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
L
LINUX DO - 热门话题
N
Netflix TechBlog - Medium
S
Schneier on Security
T
The Exploit Database - CXSecurity.com
Vercel News
Vercel News
P
Palo Alto Networks Blog
C
CERT Recently Published Vulnerability Notes
Simon Willison's Weblog
Simon Willison's Weblog
I
Intezer
L
Lohrmann on Cybersecurity
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
D
Darknet – Hacking Tools, Hacker News & Cyber Security
P
Proofpoint News Feed
The Register - Security
The Register - Security
T
Threat Research - Cisco Blogs
P
Privacy & Cybersecurity Law Blog
A
Arctic Wolf
F
Fortinet All Blogs
V
Vulnerabilities – Threatpost
The Hacker News
The Hacker News
V
Visual Studio Blog
Know Your Adversary
Know Your Adversary
博客园 - Franky
C
Check Point Blog
P
Privacy International News Feed
NISL@THU
NISL@THU
T
Tenable Blog
云风的 BLOG
云风的 BLOG
T
Tailwind CSS Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
B
Blog RSS Feed
A
About on SuperTechFans
L
LangChain Blog
Cyberwarzone
Cyberwarzone
Security Latest
Security Latest
C
CXSECURITY Database RSS Feed - CXSecurity.com
G
Google Developers Blog
WordPress大学
WordPress大学
T
Threatpost
Y
Y Combinator Blog
Last Week in AI
Last Week in AI
The GitHub Blog
The GitHub Blog
爱范儿
爱范儿
T
Tor Project blog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Spread Privacy
Spread Privacy

Neovim

nvim 内部直接预览图片 - V2EX 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 用起来太难受了