Code Monkey home page Code Monkey logo

nvim-config's Introduction

I am a machine learning engineer who is passionate about solving real-world problems using machine learning algorithms. I am experienced in image processing using OpenCV and PIL, and also in data visualization using Matplotlib. I have been working on various vision-related projects, ranging from image retrieval, OCR, document image analysis and reconstruction, to video fingerprinting/deduplication.

I am also a FOSS lover and a Vim/Nvim enthusiast in particular, sharing tips and tricks on using Neovim. More info about me can be found on my website: https://jdhao.github.io/.

Languages and tools

Python C++ Lua shell script LaTeX Zsh OpenCV NumPy Pandas PySpark sklearn PyTorch Matplotlib MySQL PostGres Elasticsearch Redis Flask FastAPI Databricks GitHub GitHub Pages Hugo git Azure GCP GitLab Jupyter NeoVim Vim VS Code Sublime Text PyCharm Emacs Docker Linux Ubuntu CentOS Android macOS Windows Tmux Hugo Windows Terminal Jira

Projects

  • I am maintaining nvim-config -- A modern Neovim configuration with full battery for Python, C++, Markdown, LaTeX, and more...
  • Author of better-escape.vim -- a Vim/Neovim plugin that helps the users escape insert mode without lagging.
  • Author of whitespace.nvim -- A nvim plugin to show and trim trailing white spaces.
  • minimal_vim -- A minimal Vim/Nvim configuration in just one file without external dependencies.
  • deep firearm: Using a Siamese network with double margin contrastive loss for fine-grained gun image retrieval.

Latest blog posts

Stack Overflow and GitHub stats

jdhao's Stack Overflow profile

GitHub Stats GitHub Streak

Random quotes

quotes

nvim-config's People

Contributors

bldur avatar chaoqunya avatar easion101 avatar jdhao avatar jonghoonseo avatar mr-cal avatar soda92 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nvim-config's Issues

nvim 0.8 tracking

  1. change in LSP table keys
    see neovim/neovim#14090 (comment) .

  2. default changed to filetype.lua
    See neovim/neovim#14090 (comment) .

  3. indexed vim.cmd
    neovim/neovim@559ef3e.

  4. zero cmdheight:
    neovim/neovim@663cbe2

  5. measure require() in --startuptime
    neovim/neovim@2c73943

  6. preview for user-created function
    neovim/neovim@46536f5

  7. hl group CurSearch
    neovim/neovim@b16afe4

  8. :map, :command, :au can print lua source location
    neovim/neovim@3df8d9b

  9. Nvim build env for Linux updated to Ubuntu 20.04, so the nightly release may not work for old machines any more. I tested latest nightly on CentOS 7.4, it can not work anymore, showing the following error:

    /lib64/libc.so.6: version `GLIBC_2.28' not found

    see also neovim/neovim@48241c3

neovim/neovim#19711 (comment)

  1. vim.opt or vim.o?

    neovim/neovim#19477 (comment)
    neovim/neovim#19982
    neovim/neovim#20107

  2. :Man ported to lua
    neovim/neovim#19912

  3. hijack message
    neovim/neovim#16396

  4. Clickable statusline
    neovim/neovim#18650

How to come back to vanilla nvim

After installing this configuration if I like to make some test with nvim without any plugin, is there a easy way to setup it like default ?

packer_compiled.lua is missing

Error detected while processing /root/.config/nvim/core/plugins.vim:
line    4:
E5108: Error executing lua /root/.config/nvim/lua/plugins.lua:331: module 'packer_compiled' not found:
        no field package.preload['packer_compiled']
        no file './packer_compiled.lua'
        no file '/tmp/neovim/.deps/usr/share/luajit-2.1.0-beta3/packer_compiled.lua'
        no file '/usr/local/share/lua/5.1/packer_compiled.lua'
        no file '/usr/local/share/lua/5.1/packer_compiled/init.lua'
        no file '/tmp/neovim/.deps/usr/share/lua/5.1/packer_compiled.lua'
        no file '/tmp/neovim/.deps/usr/share/lua/5.1/packer_compiled/init.lua'
        no file './packer_compiled.so'
        no file '/usr/local/lib/lua/5.1/packer_compiled.so'
        no file '/tmp/neovim/.deps/usr/lib/lua/5.1/packer_compiled.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
        [C]: in function 'require'
        /root/.config/nvim/lua/plugins.lua:331: in main chunk
        [C]: in function 'require'
        /root/.config/nvim/lua/lua-init.lua:5: in main chunk
        [C]: in function 'require'
        [string ":lua"]:1: in main chunk
[edge] Generated /root/.local/share/nvim/site/pack/packer/opt/edge/after/ftplugin

UI: linux number not right

Problem:
image

Host Info:
image

❯ nvim -v
NVIM v0.6.0
Build type: Release
LuaJIT 2.0.5
Compiled by builduser

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/share/nvim"

Run :checkhealth for more info

输入法相关问题

1、切换输入法

这个插件也可以试一下 https://github.com/brglng/vim-im-select

2、macOS 上输入法一个 bug

经测试在 kitty 复现了,在 wezterm 最新版不能复现。

输入文字以后,如果使用 -= 翻页选择文字,buffer 里面会出现翻页时候按下的 = 符号。

E117: Unknown function: readdir

Hi and thank you for sharing your config! I'm facing errors setting things up in linux. I did:

$ rm -rf ~/.config/nvim ~/.local/share/nvim
$ curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
  https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
$ git clone https://github.com/jdhao/nvim-config/ ~/.config/nvim

Then started nvim and waited for :PlugInstall to complete. On finish, I got error for missing readdir. Restarting nvim the error came up again:

Error detected while processing /home/lennart/.config/nvim/core/plugins.vim:
line   12:
E117: Unknown function: readdir
E116: Invalid arguments for function empty
E15: Invalid expression: empty(readdir(g:plug_home))
line  315:
E5105: Error while calling lua chunk: ...share/nvim/plugged/nvim-lspconfig/lua/lspconfig/util.lua:11: attempt to index local 'lsp' (a nil value)
[...]

I don't know where readdir is supposed to be, and my knowledge of Lua is absolutely zero. What am I doing wrong?

file exploring

Thank you for sharing your settings. I was wondering what you use for file browsing. Previous versions had nerdtree for this purpose, however, I noticed that you have removed this plugin in the latest version. (Windows 10, fvim)
Thank you

Wilder autocomplete not working

  • nvim --version: 0.6.0
  • terminal emulator and version: iTerm
  • Operating system/version: macOS Monterey

Describe the bug

Steps to reproduce the behavior:

  1. do :tabedit ./<tab>

Expected behavior
Should show the potential paths, but instead nothing happens.

Seeing an error pop up when using

  • nvim --version: 0.6.0
  • terminal emulator and version: iTerm
  • Operating system/version: macOS Monterey

Describe the bug

Steps to reproduce the behavior:

  1. Just type something in nvim

Expected behavior
Stuff just types

Screenshots
Screen Shot 2022-02-11 at 7 10 33 AM

The history of this repo

Initially, I did not create a repo to store my neovim config. I just store it in a gist consisting of several files. My oldest commit can date back to Oct. 2018, when I make first commit, see here.

On April 2019, I create this repository to host my neovim config and the gist is no longer needed.

error on startup nvim

packer_compile.lua not found: run PackerSync to fix!
Error detected while processing function 11:
line    1:
E919: Directory not found in 'packpath': "pack/*/opt/everforest"

nvim -V outputs:

line 24: sourcing "/root/.config/nvim/core/themes.vim"
not found in 'packpath': "pack/*/start/onedark.nvim"
Error detected while processing function 5:
line    1:
E919: Directory not found in 'packpath': "pack/*/opt/onedark.nvim"
finished sourcing /root/.config/nvim/core/themes.vim
continuing in /root/.config/nvim/init.vim
finished sourcing /root/.config/nvim/init.vim

Tracking nvim-related issues and discussions

nvim-lsp UTF-8 encoding issue

When working with nvim-lsp in a buffer containing non-ASCII characters, I sometimes get the encoding related issue like the following:

Error executing vim.schedule lua callback: /usr/share/nvim/runtime/lua/vim/lsp/rpc.lua:394: Vim:E474: String "" contains byte that does not start any UTF-8 character

Same issue here. It hasn't been fixed yet.

It seems that this issue has been fixed now (2021-11-21).

The error handling at plug_url_format doesn't actually work

I have no knowledge whatsoever about lua , but at ~/.config/nvim/lua/plugins.lua with the if else statement encompassing the variable plug_url_format didn't work
When i tried install the plugins for the first time , i issue the command PackerInstall packer tried to fetch the repositories from fastgit.org which resulted in failed to install with 503 error being the cause of the proplem behind the scene .
Therefore I suggest that github.com should be placed prior to fastgit.org in the if else statement .

setup for nodejs/js/ts

I want to integrate nodejs/js/ts autocomplete and syntax highlighting into this nvim setup for personal use. could you help me do so or tell me what I need to install and add to the config to get it to work?

Replace fastgit.org with github

The current PackerSync url give the error failed to install ,, and i check the repot with hub.fastgit.org/ to github url and it works,,

Error when starting neovim using latest repo

Hello,
When I use the latest version of the repo, on every start, I get the following error:
image
I am using v0.6-dev (and the same error occurs for other versions too), on Windows 11. Python is already in the path; checkhealth shows treesitter error (which is probably expected since treesitter plugin is not installed on windows in the plugins.

image

I was wondering if you could shed some light on this issue.

Ultisnips hiccup in insert mode

I have a question with regards to ultisnips. When I enter insert mode for the first time, I always notice that the cursor momentarily freezes even though ultisnips is not being lazy-loaded. Do you also observe this issue, and if yes, do you have a solution?

Wilder completion window overshadowed, fuzzy autocomplete also not working within wilder

  • nvim --version: 0.6.1
  • terminal emulator and version: Neovide/Alacritty
  • Operating system/version: Archlinux 5.17.1-arch1-1
  • Have you read and followed all steps in the doc: yes
  • Output of command set runtimepath:
runtimepath=~/.config/nvim,/etc/xdg/nvim,~/.local/share/nvim/site,
~/.local/share/nvim/site/pack/packer/opt/vim-indent-object,
~/.local/share/nvim/site/pack/packer/opt/whitespace.nvim,
~/.local/share/nvim/site/pack/packer/opt/vim-commentary,
~/.local/share/nvim/site/pack/packer/opt/which-key.nvim,
~/.local/share/nvim/site/pack/packer/opt/nvim-lspconfig,
~/.local/share/nvim/site/pack/packer/opt/cmp-nvim-lsp,
~/.local/share/nvim/site/pack/packer/opt/cmp-omni,
~/.local/share/nvim/site/pack/packer/opt/cmp-path,
~/.local/share/nvim/site/pack/packer/opt/cmp-nvim-lua,
~/.local/share/nvim/site/pack/packer/opt/cmp-buffer,
~/.local/share/nvim/site/pack/packer/opt/nvim-cmp,
~/.local/share/nvim/site/pack/packer/opt/lspkind-nvim,
~/.local/share/nvim/site/pack/packer/opt/indent-blankline.nvim,
~/.local/share/nvim/site/pack/packer/opt/vim-asterisk,
~/.local/share/nvim/site/pack/packer/opt/unicode.vim,
~/.local/share/nvim/site/pack/packer/opt/vim-swap,
~/.local/share/nvim/site/pack/packer/opt/hop.nvim,
~/.local/share/nvim/site/pack/packer/opt/lualine.nvim,
~/.local/share/nvim/site/pack/packer/opt/targets.vim,
~/.local/share/nvim/site/pack/packer/opt/vim-sandwich,
~/.local/share/nvim/site/pack/packer/opt/vim-repeat,
~/.local/share/nvim/site/pack/packer/opt/bufferline.nvim,
~/.local/share/nvim/site/pack/packer/opt/alpha-nvim,
~/.local/share/nvim/site/pack/packer/opt/nvim-web-devicons,
~/.local/share/nvim/site/pack/packer/opt/vim-matchup,
~/.local/share/nvim/site/pack/packer/opt/vim-signify,
~/.local/share/nvim/site/pack/packer/opt/nvim-treesitter,
~/.local/share/nvim/site/pack/packer/opt/nvim-notify,
~/.local/share/nvim/site/pack/*/start/*,
~/.local/share/nvim/site/pack/packer/opt/sonokai,
~/.local/share/nvim/site/pack/packer/opt/nvim-gdb,
~/.local/share/nvim/site/pack/packer/opt/committia.vim,
~/.local/share/nvim/site/pack/packer/opt/wilder.nvim,
~/.local/share/nvim/site/pack/packer/opt/packer.nvim,/usr/local/share/nvim/site,
/usr/share/nvim/site,/usr/share/nvim/runtime,/usr/lib/nvim,
~/.local/share/nvim/site/pack/packer/opt/cmp-nvim-lsp/after,
~/.local/share/nvim/site/pack/packer/opt/cmp-omni/after,
~/.local/share/nvim/site/pack/packer/opt/cmp-path/after,
~/.local/share/nvim/site/pack/packer/opt/cmp-nvim-lua/after,
~/.local/share/nvim/site/pack/packer/opt/cmp-buffer/after,
~/.local/share/nvim/site/pack/packer/opt/vim-sandwich/after,
~/.local/share/nvim/site/pack/packer/opt/vim-matchup/after,
~/.local/share/nvim/site/pack/packer/opt/nvim-treesitter/after,
~/.local/share/nvim/site/pack/packer/opt/sonokai/after,
/usr/share/nvim/site/after,/usr/local/share/nvim/site/after,
~/.local/share/nvim/site/after,/etc/xdg/nvim/after,~/.config/nvim/after,
/usr/share/vim/vimfiles

Describe the bug
Autocomplete in Command Line opens up other "completion" next to Wilder.nvim, does also not include fuzzy matching (e.g. expanding VimComp to VimtexCompile)

Steps to reproduce the issue (Fuzzy completion):
1.Open neovim
2.Press :, type some command(halfway) (for example VimComp, used to autocomplete to VimtexCompile)
3.Press Tab to autocomplete

Expected behavior (Fuzzy Completion)
Should autocomplete command, instead nothing happens. (This is for fuzzy completion)

Steps to reproduce the issue (Normal completion):
1.Open neovim
2.Press :, type some command(halfway) (for example :e l, if there are multiple files starting with l)
3.Press Tab to autocomplete

Expected behavior (Normal Completion)
Should open wilder, with the "cursor" set to the first option, instead opens some other autocomplete utility. (see attached screenshot, if you look closely you can still see the wilder popup below)

before-tab

after-tab

Starting firenvim in a browser

Hello,
I was wondering what is the key binding for starting firenvim in a browser. I see that you set the takeover to never. How would you start firenvim then?

After install everything: "pylsp not found!"

  • nvim --version: NVIM v0.6.1
  • terminal emulator and version: konsole 21.08.3
  • Operating system/version: Gentoo Linux ( Latest )
  • Have you read and followed all steps in the doc: Yes
  • Output of command set runtimepath: Empty, no output

Describe the bug

When I open nvim it said pylsp not found!, I am pretty sure that I executed these commands successfully:
pip install "python-lsp-server[all]"
pip install -U setuptools
pip install --upgrade pynvim
pip install --upgrade vim-vint

pip version: pip 22.0.2
python version: python 3.9.9

** neovim details **

NVIM v0.6.1
Build type: Gentoo
Lua 5.1
Compilation: /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=skylake -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_TS_HAS_SET_MATCH_LIMIT -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/var/tmp/portage/app-editors/neovim-0.6.1/work/neovim-0.6.1_build/config -I/var/tmp/portage/app-editors/neovim-0.6.1/work/neovim-0.6.1/src -I/usr/include -I/var/tmp/portage/app-editors/neovim-0.6.1/work/neovim-0.6.1_build/src/nvim/auto -I/var/tmp/portage/app-editors/neovim-0.6.1/work/neovim-0.6.1_build/include
Compiled by portage@localhost

Features: +acl +iconv +tui

No Syntax Highlighting, Help Me

  • nvim --version: 0.6.0
  • terminal emulator and version:
  • Operating system/version: Windows 10

Describe the bug
No Syntax Highlighting

Screenshots
image

LeaderF not working

  • nvim --version: NVIM v0.6.0
  • terminal emulator and version: iTerm
  • Operating system/version: macOS Monterey

Describe the bug

Can't use <leader> f f to access LeaderF.

Steps to reproduce the behavior:

  1. Do <leader> f f

Expected behavior

LeaderF is supposed to show.

Screenshots
<leader> f does show the following. But doing another f just silently does nothing.
Screen Shot 2022-02-11 at 4 15 57 AM

Can anyone confirm/reject if there are problems with :PackerSync or any of the installation/funtionalities?

nvim version: 0.6.1

I am tracking the Packer project status too, but there is conflicting information there about the situation regarding the Sync; Install and Update functionality of the nvim packages.

The error I get is 503 on the pull of the plugins from their repos

--- Solution found ---
Reason for the problem: the .git/config of every package is pointing its "origin" repo to the "https://hub.fastgit.org/" directly which, due to Cloudflare's hosting's cookie changes creates a loop (browsers, nvim and other clients).

Solution explanation: changing the "origin" repo to point to "github.com" for each package instead is fixing the problem, while correctly being redirected to "https://hub.fastgit.org/" internally during :PackerUpdate or :PackerSync

Extra info: some of the packages might require additional installation of python-devel, but that will depend on the packages you have installed in nvim (neovim)

Solution here is link to a little script that will make this .git/config fix for each of the packages nvim is using for the curent user -> wbthomason/packer.nvim#381 (comment)

VimTex Deprecated setting

  • nvim --version: 0.8
  • terminal emulator and version: Nvy.exe
  • Operating system/version: Windows
  • Have you read and followed all steps in the doc: Yes
  • Output of command set runtimepath:

Describe the bug

Opening any .tex file will generate the below warning:
image

Steps to reproduce the issue:

  1. Open any .tex file

Expected behavior
Not to see any warnings

Arrow Keys not working, only work on INSERT mode.

I am not sure if this is a bug or a feature (probably a feature) but I want to know the name of the plugin that adds the ability to use the cursor with a mouse, basically wherever you click, the cursor goes there. Although that plugin may be helpful for others, it is annoying, and I would love to know how to remove it. However, the arrow keys, which I find very useful, do work on INSERT mode. If it isn't a feature, and rather a bug, then consider this an Issue.

How to change mouse behaviour?

Hi, i just installed your config and am trying it out currently, like it a lot.
I was wondering how i can disable the entering of visual mode when moving the mouse.
This happens after the first time that i select text with the mouse like normal, afterwards every movement of the mouse enters visual mode and starts selecting text. How can i change it back, so that it only starts selecting when actually pressing the mouse button?
Also, do you know how to re-enable the arrow keys in visual mode? i am using a 60% keyboard, so the arrow keys are accessible to me quickly.
Thanks for taking the time to make this config, it is really well thought out

improve plugin auto install

Packer's operations are asynchronous. Previously, to install plugins in a non-interactive way, the following command is used:

nvim +PackerSync +30sleep +quitall

it is not ideal since we do not really know that after 30 seconds, the plugin installation process should finish.

A more ideal way is to use autocmd PackerComplete provided by Packer:

nvim -c 'autocmd User PackerComplete quitall' -c 'PackerSync'

How do I bind a title to the nvim-qt window

Currently when I open a file in nvim-qt it simply says "Neovim" of the nvim graphical window. I would like to associate the window to a specific Title. Any suggestions / ideas to help.

When I do the same thing in gvim it will show the filename in the graphical window

yanking/autosave/LeaderF do not work

Hi,
When I use the latest version of the config, yy or y <motion> does not work (Y works though). I am on Windows and use Nvy.

Also, I noticed that the autosave plug-in does not work, i.e. when I make a change to a buffer, even after exiting the insert mode, the buffer is not saved.

When invoking LeaderF (comma+f) I get the error of Not an editor command: LeaderF file --popup
There are more plugins that don't work so of course I am doing something terribly wrong; I am having the same issues on different machines that I tried this configuration; the checkhealth doesn't show any errors though.

I do not have these issues in your previous versions of the config file. I have installed all of the requirements from the docs page.

Any help is appreciated.

[Question] How to auto format vimscript

老哥想请教一下你是怎么自动format vimscript的,我看到这个snippet觉得应该不是手动换行的吧?我找了一些资料,但没看到什么可以把一个长的行字懂格式化成像这段代码一样?

感谢🙏

let s:core_conf_files = [
      \ 'globals.vim',
      \ 'options.vim',
      \ 'autocommands.vim',
      \ 'mappings.vim',
      \ 'plugins.vim',
      \ 'themes.vim'
      \ ]

Error after following installation steps

  • nvim --version: v0.7.2

  • terminal emulator and version: alacritty and 0.10.1

  • Operating system/version: ubuntu 22.04

  • Have you read and followed all steps in the doc: yes

  • Output of command set runtimepath:

    
    

Describe the bug

Steps to reproduce the issue:

  1. follow install instructions
  2. open neovim

Expected behavior

No errors should be there
Screenshots

image

Additional context
Error:

Error detected while processing /home/hasan/.config/nvim/init
.lua:
E5113: Error while calling lua chunk: /home/hasan/.config/nvi
m/init.lua:36: Vim(echoerr):Python 3 executable not found! Yo
u must install Python 3 and set its PATH correctly!
stack traceback:
        [C]: in function 'cmd'
        /home/hasan/.config/nvim/init.lua:36: in main chunk
Press ENTER or type command to continue

Replace vim-sneak with hop.nvim?

Hop.nvim is like a lua successor to the good-old vim-sneak written in vim script. Currently, vim-sneak does not support jump to Chinese characters using its pinyin initials. In hop.nvim, there is a PR for that.

How to open quickfixes?

How do I open quickfixes menu? In lua/config/lsp.lua there are mapping for code actions and rename but they're not working

Error detected while processing config/nvim/core/globals.vim

Good day to all. I did everything according to the instructions from here.

As soon as I have installed all the dependencies and try to run and install plugins, it gives such errors:

Error detected while processing /home/islombek/.config/nvim/core/globals.vim:
line 33:
Python 3 executable not found! You must install Python 3 and set its PATH correctly!
Installing packer.nvim
Error detected while processing /home/islombek/.config/nvim/core/plugins.vim:
line 4:
E5108: Error executing lua /home/islombek/.config/nvim/lua/plugins.lua:23: Vim(packadd):E919: Directory not found in 'packpath': "pack/
*/opt/packer.nvim"
line 482:
E117: Unknown function: wilder#enable_cmdline_enter
line 488:
E117: Unknown function: wilder#set_option
line 490:
E117: Unknown function: wilder#python_difflib_sorter
E116: Invalid arguments for function wilder#cmdline_pipeline
E116: Invalid arguments for function wilder#branch
E116: Invalid arguments for function wilder#set_option
line 505:
E117: Unknown function: wilder#basic_highlighter
E116: Invalid arguments for function wilder#wildmenu_airline_theme
E116: Invalid arguments for function wilder#wildmenu_renderer
E116: Invalid arguments for function wilder#set_option
Error detected while processing function 11:
line 1:
E919: Directory not found in 'packpath': "pack/*/opt/doom-one.nvim"
Error detected while processing command line:
E492: Not an editor command: PackerInstall

Cloning into '/home/islombek/.local/share/nvim/site/pack/packer/opt/packer.nvim'...
fatal: unable to access 'https://hub.fastgit.org/wbthomason/packer.nvim/': The requested URL returned error: 429

[Process exited 128]

I tried to use a bash script, and there are such errors:

++ echo 'Setting up config and installing plugins'
Setting up config and installing plugins
++ [[ -d /root/.config/nvim ]]
++ mv /root/.config/nvim /root/.config/nvim.backup
mv: inter-device move failed: '/root/.config/nvim' to '/root/.co
kup/nvim'; unable to remove target: Directory not empty

I have a linux(debian bullseye) system. Please help me figure this out.

Running nvim gives error

  • nvim --version: NVIM v0.6.1
  • terminal emulator and version: iTerm Build 3.4.15
  • Operating system/version: macOS
  • Have you read and followed all steps in the doc: Yes
  • Output of command set runtimepath:
 runtimepath=~/.config/nvim,/etc/xdg/nvim,~/.local/share/nvim/site,~/.local/share/nvim/site/
pack/*/start/*,~/.local/share/nvim/site/pack/packer/opt/vim-gruvbox8,~/.local/share/nvim/site
/pack/packer/opt/wilder.nvim,~/.local/share/nvim/site/pack/packer/opt/committia.vim,~/.local/
share/nvim/site/pack/packer/opt/firenvim,~/.local/share/nvim/site/pack/packer/opt/packer.nvim
,/usr/local/share/nvim/site,/usr/share/nvim/site,/opt/homebrew/Cellar/neovim/0.6.1/share/nvim
/runtime,/opt/homebrew/Cellar/neovim/0.6.1/lib/nvim,/usr/share/nvim/site/after,/usr/local/sha
re/nvim/site/after,~/.local/share/nvim/site/after,/etc/xdg/nvim/after,~/.config/nvim/after

Describe the bug

Every time I run nvim it gives the error below;

‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
Error in packer_compiled: /Users/serkan/.config/nvim/lua/config/nvim-tree.lua:116: attempt to
 index field 'keymap' (a nil value)
Please check your config for correctness
Colorscheme: gruvbox_material
Press ENTER or type command to continue

Steps to reproduce the issue:

  1. Run nvim

Expected behavior
Run without error

vimtex on Linux?

Hi !
Thanks for your config !

I'm trying to get vimtex working.
How to compile and previewing from your configs?
thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.