How to set up nvim for configuring yazi such that nvim's lsp diagnostics warning and error do not appear? #3284
              
                Unanswered
              
          
                  
                    
                      sunbearc22
                    
                  
                
                  asked this question in
                1. Q&A
              
            Replies: 2 comments 1 reply
-
| 
         Just figured that  Can anyone advice me on my other question on how to use nvim to configure the lua files in yazi and its plugins and deal with the warning messages?  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| 
         Check out https://github.com/yazi-rs/plugins/tree/main/types.yazi  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What system are you running Yazi on?
Linux X11
What terminal are you running Yazi in?
wezterm 20251014-193657-64f2907c
yazi --debugoutputYazi Version: 25.9.15 (c11ed02 2025-10-27) Debug : false Triple : x86_64-unknown-linux-gnu (linux-x86_64) Rustc : 1.90.0 (1159e78c 2025-09-14) Ya Version: 25.9.15 (c11ed02 2025-10-27) Emulator TERM : Some("xterm-256color") TERM_PROGRAM : Some("WezTerm") TERM_PROGRAM_VERSION: Some("20251014-193657-64f2907c") Brand.from_env : Some(WezTerm) Emulator.detect : Emulator { kind: Left(WezTerm), light: false, csi_16t: (10, 33), force_16t: false } Adapter Adapter.matches : Iip Dimension.available: Dimension { rows: 30, columns: 190, width: 1900, height: 990 } Desktop XDG_SESSION_TYPE : Some("x11") WAYLAND_DISPLAY : None DISPLAY : Some(":1") SWAYSOCK : None HYPRLAND_INSTANCE_SIGNATURE: None WAYFIRE_SOCKET : None SSH shared.in_ssh_connection: false WSL WSL: false Variables SHELL : Some("/bin/bash") EDITOR : Some("nvim") VISUAL : None YAZI_FILE_ONE : None YAZI_CONFIG_HOME : None YAZI_ZOXIDE_OPTS : None FZF_DEFAULT_OPTS : None FZF_DEFAULT_COMMAND: None Text Opener default : Some(OpenerRule { run: "${EDITOR:-vi} %s", block: true, orphan: false, desc: "$EDITOR", for: None, spread: true }) block-create: Some(OpenerRule { run: "${EDITOR:-vi} %s", block: true, orphan: false, desc: "$EDITOR", for: None, spread: true }) block-rename: Some(OpenerRule { run: "${EDITOR:-vi} %s", block: true, orphan: false, desc: "$EDITOR", for: None, spread: true }) Multiplexers TMUX : false tmux version : 3.4 tmux build flags : enable-sixel=Unknown ZELLIJ_SESSION_NAME: None Zellij version : No such file or directory (os error 2) Dependencies file : 5.45 ueberzugpp : 2.9.7 ffmpeg/ffprobe: 6.1.1-3 / 6.1.1-3 pdftoppm : 24.02.0 magick : No such file or directory (os error 2) fzf : 0.65.2 fd/fdfind : No such file or directory (os error 2) / 9.0.0 rg : 14.1.1 chafa : 1.14.0 zoxide : 0.9.8 7zz/7z : No such file or directory (os error 2) / 23.01 resvg : No such file or directory (os error 2) jq : 1.7 Clipboard wl-copy/paste: No such file or directory (os error 2) / No such file or directory (os error 2) xclip : 0.13 xsel : No such file or directory (os error 2) Routine `file -bL --mime-type`: text/plainDescribe the question
How do I configure nvim such that when I am editing/configuring Yazi's lua script I can avoid all the warning and error message as is show below?
I have tried declaring
.luarc.json:but there are still so many other warnings appearing. Is there a simpler solution for this problem then for me to manually key in all of yazi's global & function names? I there a standard .luarc.json file for working with yazi that I can use?
Also, how do I set up
YAZI_LOG=debug yazi? I have tried removing it frominit.luaand do :But the yazi is missing..
Anything else?
Checklist
Beta Was this translation helpful? Give feedback.
All reactions