V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
jdhao
V2EX  ›  Vim

neovim 使用 pylsp 配置

  •  
  •   jdhao · Aug 3, 2023 · 2034 views
    This topic created in 998 days ago, the information mentioned may be changed or developed.

    分享一篇 neovim 使用 pylsp 的配置,包含 virtual envrionment 设置,希望能够帮到需要同样配置的 vimmer

    https://jdhao.github.io/2023/07/22/neovim-pylsp-setup/

    6 replies    2023-08-06 15:59:14 +08:00
    ChrisFreeMan
        1
    ChrisFreeMan  
       Aug 3, 2023
    我已经用 Lunarvim 的开箱配置了,除了一些小 bug 目前很满意,能够随时捡起来用是最重要的,剩下的时间都用来写代码了。
    c3de3f21
        2
    c3de3f21  
       Aug 4, 2023
    @ChrisFreeMan 我也是。。。
    c3de3f21
        3
    c3de3f21  
       Aug 4, 2023
    可以参考这个项目对 lvim 进行模块化配置

    https://github.com/abzcoding/lvim
    Davic1
        4
    Davic1  
       Aug 4, 2023
    OP 有对比 pyright 和 pylsp 吗,哪个好些?
    jdhao
        5
    jdhao  
    OP
       Aug 5, 2023
    @Davic1 pyright 补全速度快一些,不过功能不如 pylsp 全,pylsp 毕竟整合了 lint ,format 等功能,具体看自己取舍吧。
    fanhed
        6
    fanhed  
       Aug 6, 2023
    补全我都是 coc.nvim 一把梭的了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5615 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 08:37 · PVG 16:37 · LAX 01:37 · JFK 04:37
    ♥ Do have faith in what you're doing.