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

推荐订阅源

N
News and Events Feed by Topic
D
DataBreaches.Net
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Recorded Future
Recorded Future
Y
Y Combinator Blog
C
Check Point Blog
Google DeepMind News
Google DeepMind News
M
MIT News - Artificial intelligence
小众软件
小众软件
F
Full Disclosure
S
SegmentFault 最新的问题
Blog — PlanetScale
Blog — PlanetScale
B
Blog RSS Feed
Martin Fowler
Martin Fowler
P
Proofpoint News Feed
博客园 - 司徒正美
量子位
The GitHub Blog
The GitHub Blog
T
The Blog of Author Tim Ferriss
T
Tenable Blog
P
Privacy International News Feed
T
The Exploit Database - CXSecurity.com
C
Cyber Attacks, Cyber Crime and Cyber Security
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
G
Google Developers Blog
P
Proofpoint News Feed
T
Threatpost
Know Your Adversary
Know Your Adversary
aimingoo的专栏
aimingoo的专栏
Latest news
Latest news
Security Latest
Security Latest
Cyberwarzone
Cyberwarzone
A
About on SuperTechFans
P
Palo Alto Networks Blog
Stack Overflow Blog
Stack Overflow Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
The Hacker News
The Hacker News
A
Arctic Wolf
AWS News Blog
AWS News Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
NISL@THU
NISL@THU
Last Week in AI
Last Week in AI
Hacker News - Newest:
Hacker News - Newest: "LLM"
Spread Privacy
Spread Privacy
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Application and Cybersecurity Blog
Application and Cybersecurity Blog
I
InfoQ
J
Java Code Geeks
H
Help Net Security

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 用起来太难受了