Giter VIP home page Giter VIP logo

neovim-init.vim's Introduction

Nightlife in Singapore - Imgur, animation by orboloops8: https://imgur.com/user/orboloops8

Last login: Fri, 26 Apr 2024 at 07:57:25 +08 from 10.1.33.7

$ echo "hello world, im $(whoami)."
hello world, im shawn.

$ ls ~/interests
☁️ cloud ✒️ vim 🌐 3d 🌕 crypto 💻 code 🖼 nft 🚩 cyber 🥽 vr

$ head -1 /etc/hosts
127.0.0.1 localhost 🇸🇬 singapore

$ # change is the only constant. ^U^D

neovim-init.vim's People

Contributors

attila-m avatar jaydeland avatar optixal avatar tupini07 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

neovim-init.vim's Issues

issue with completion in cmdbar

Hello

It is a great departure for a new comer like me.
A simple question, I see that pretty quickly the completion command becomes broken
It does not autocomplete after a few use, just finishing into a ^I letter when hittin 'tab'

I've just changed a little your init.vim,

  • removed the leader> key in telescope shortcuts
  • and added this
set ignorecase smartcase
inoremap jk <ESC>
nnoremap ; : 

if it changes anything

Have a good day

Sometimes colors don't load automatically

I noticed that when using zsh (at least using macOS) the background color remains the same as your terminal shell when you open up neovim, forcing you to force a reload by using ,e1 or opening then closing Goyo. This can be fixed by adding set t_ut= and moving color dracula near the bottom of your config. Why does it work? I have no idea. Probably something to do with disabling background color erase. Credit to @wendtl for finding this fix for me.

Moving between tabs delayed

When I want to move between tabs I press gt but I cannot move if I type it too fast. When I type g first and wait a second and after I type t it works fine. Couldn't find anything related in vim config. Also if I do it too quickly it shows me Stitlecase, can you please explain what that is and how to live with that :) Thanks!

Autocomplete doesn't work

For example, loremipsum,

whenever I try to complete the line with 50 words for example... nothing happens

In the markdown file, the Enter key is different

By using the configuration of this repo.
When I use neovim to edit the file, it will automatically complete.
This function comes from the COC.nvim plug-in.

Normal behavior

Use the tab key to select different options, and use the enter key to confirm the input

Like the following situation:
2021-08-13_20-29-52
When I press Enter key, it prints test

Actual behavior

For the above situation.
If this file is a markdown file (with .md as the extension)
When i press Enter key, it prints t, and it wraps


I am new to vim
I'm used to using the Enter key for completion.
So sometimes it’s more uncomfortable

$nvim --version
NVIM v0.4.4
Build type: Release
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/cc -g -O2 -fdebug-prefix-map=/build/neovim-eK2ojg/neovim-0.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=1 -DDISABLE_LOG -Wdate-time -D_FORTIFY_SOURCE=1 -O2 -DNDEBUG -DMIN_LOG_LEVEL=3 -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 -I/build/neovim-eK2ojg/neovim-0.4.4/build/config -I/build/neovim-eK2ojg/neovim-0.4.4/src -I/usr/include -I/usr/include/lua5.1 -I/build/neovim-eK2ojg/neovim-0.4.4/build/src/nvim/auto -I/build/neovim-eK2ojg/neovim-0.4.4/build/include
Compiled by [email protected]

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

system message

Operating System: Debian GNU/Linux 11
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Kernel Version: 5.10.0-8-amd64
OS Type: 64-bit
Processors: 6 × Intel® Core™ i5-9400 CPU @ 2.90GHz
Memory: 15.6 GiB of RAM
Graphics Processor: llvmpipe

Missing modules

Error detected while processing /Users/paspielka/.config/nvim/init.vim:
line  175:
E5108: Error executing lua [string ":lua"]:5: module 'treesitter-config' not found:
        no field package.preload['treesitter-config']
        no file './treesitter-config.lua'
        no file '/opt/homebrew/share/luajit-2.1.0-beta3/treesitter-config.lua'
        no file '/usr/local/share/lua/5.1/treesitter-config.lua'
        no file '/usr/local/share/lua/5.1/treesitter-config/init.lua'
        no file '/opt/homebrew/share/lua/5.1/treesitter-config.lua'
        no file '/opt/homebrew/share/lua/5.1/treesitter-config/init.lua'
        no file './treesitter-config.so'
        no file '/usr/local/lib/lua/5.1/treesitter-config.so'
        no file '/opt/homebrew/lib/lua/5.1/treesitter-config.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'

[macOS] Installation Issues

I sadly can't get this to work on macOS:

Information

  • MacBook Pro
  • macOS Big Sur (Version 11.0.1)
  • python --version: 2.7.16
  • which python: /usr/bin/python
  • python3 --verison: 3.9.0
  • which python3: /usr/local/bin/python3

What I've done:

  1. Cloned the repo using git clone <url>
  2. Tried to modify install.sh to work on macOS (details below)
  3. ./install.sh

The error message:

Error message

❯ ./install.sh
[] Preparing Neovim config directory ...
[
] App installing Neovim and its dependencies (Python 3 and git), and dependencies for tagbar (exuberant-ctags) ...
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
Updated 1 formula.
Warning: neovim 0.4.4 is already installed and up-to-date
To reinstall 0.4.4, run brew reinstall neovim
Warning: ctags 5.8_1 is already installed and up-to-date
To reinstall 5.8_1, run brew reinstall ctags
[] Pip installing venv to containerize Neovim dependencies (instead of installing them onto your system) ...
[
] Activating virtualenv and pip installing Neovim (for Python plugin support), libraries for async autocompletion support (jedi, psutil, setproctitle), and library for pep8-style formatting (yapf) ...
Requirement already satisfied: jedi in /Users/julianschubert/.config/nvim/env/lib/python3.9/site-packages (0.17.2)
Collecting doq
Using cached doq-0.6.4-py2.py3-none-any.whl
Requirement already satisfied: parso in /Users/julianschubert/.config/nvim/env/lib/python3.9/site-packages (from doq) (0.7.1)
Requirement already satisfied: parso in /Users/julianschubert/.config/nvim/env/lib/python3.9/site-packages (from doq) (0.7.1)
Collecting psutil
Using cached psutil-5.7.3.tar.gz (465 kB)
Collecting pynvim
Using cached pynvim-0.4.2-py3-none-any.whl
Requirement already satisfied: msgpack>=0.5.0 in /Users/julianschubert/.config/nvim/env/lib/python3.9/site-packages (from pynvim) (1.0.0)
Collecting setproctitle
Using cached setproctitle-1.2.1.tar.gz (23 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Collecting yapf
Using cached yapf-0.30.0-py2.py3-none-any.whl (190 kB)
Collecting greenlet
Using cached greenlet-0.4.17.tar.gz (61 kB)
Collecting jinja2
Using cached Jinja2-2.11.2-py2.py3-none-any.whl (125 kB)
Collecting MarkupSafe>=0.23
Using cached MarkupSafe-1.1.1.tar.gz (19 kB)
Building wheels for collected packages: psutil, setproctitle, greenlet, MarkupSafe
Building wheel for psutil (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /Users/julianschubert/.config/nvim/env/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/h1/vb3brhtn4b33_yrs_n9x61xm0000gn/T/pip-install-2rgey38d/psutil_ae5141ce392a4f21b86195705f7f61dd/setup.py'"'"'; file='"'"'/private/var/folders/h1/vb3brhtn4b33_yrs_n9x61xm0000gn/T/pip-install-2rgey38d/psutil_ae5141ce392a4f21b86195705f7f61dd/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/h1/vb3brhtn4b33_yrs_n9x61xm0000gn/T/pip-wheel-h1tzxa3h
cwd: /private/var/folders/h1/vb3brhtn4b33_yrs_n9x61xm0000gn/T/pip-install-2rgey38d/psutil_ae5141ce392a4f21b86195705f7f61dd/
Complete output (89 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-11-x86_64-3.9
creating build/lib.macosx-11-x86_64-3.9/psutil
copying psutil/_pswindows.py -> build/lib.macosx-11-x86_64-3.9/psutil
copying psutil/_common.py -> build/lib.macosx-11-x86_64-3.9/psutil
copying psutil/init.py -> build/lib.macosx-11-x86_64-3.9/psutil
copying psutil/_psosx.py -> build/lib.macosx-11-x86_64-3.9/psutil
copying psutil/_psbsd.py -> build/lib.macosx-11-x86_64-3.9/psutil
copying psutil/_psaix.py -> build/lib.macosx-11-x86_64-3.9/psutil
copying psutil/_pslinux.py -> build/lib.macosx-11-x86_64-3.9/psutil
copying psutil/_compat.py -> build/lib.macosx-11-x86_64-3.9/psutil
copying psutil/_psposix.py -> build/lib.macosx-11-x86_64-3.9/psutil
copying psutil/_pssunos.py -> build/lib.macosx-11-x86_64-3.9/psutil
creating build/lib.macosx-11-x86_64-3.9/psutil/tests
copying psutil/tests/test_contracts.py -> build/lib.macosx-11-x86_64-3.9/psutil/tests
copying psutil/tests/test_connections.py -> build/lib.macosx-11-x86_64-3.9/psutil/tests
copying psutil/tests/runner.py -> build/lib.macosx-11-x86_64-3.9/psutil/tests
copying psutil/tests/test_unicode.py -> build/lib.macosx-11-x86_64-3.9/psutil/tests
copying psutil/tests/test_misc.py -> build/lib.macosx-11-x86_64-3.9/psutil/tests
copying psutil/tests/test_posix.py -> build/lib.macosx-11-x86_64-3.9/psutil/tests
copying psutil/tests/test_linux.py -> build/lib.macosx-11-x86_64-3.9/psutil/tests
copying psutil/tests/test_sunos.py -> build/lib.macosx-11-x86_64-3.9/psutil/tests
copying psutil/tests/init.py -> build/lib.macosx-11-x86_64-3.9/psutil/tests
copying psutil/tests/test_aix.py -> build/lib.macosx-11-x86_64-3.9/psutil/tests
copying psutil/tests/test_process.py -> build/lib.macosx-11-x86_64-3.9/psutil/tests
copying psutil/tests/test_bsd.py -> build/lib.macosx-11-x86_64-3.9/psutil/tests
copying psutil/tests/test_system.py -> build/lib.macosx-11-x86_64-3.9/psutil/tests
copying psutil/tests/test_osx.py -> build/lib.macosx-11-x86_64-3.9/psutil/tests
copying psutil/tests/test_memleaks.py -> build/lib.macosx-11-x86_64-3.9/psutil/tests
copying psutil/tests/test_windows.py -> build/lib.macosx-11-x86_64-3.9/psutil/tests
copying psutil/tests/main.py -> build/lib.macosx-11-x86_64-3.9/psutil/tests
copying psutil/tests/test_testutils.py -> build/lib.macosx-11-x86_64-3.9/psutil/tests
running build_ext
building 'psutil._psutil_osx' extension
creating build/temp.macosx-11-x86_64-3.9
creating build/temp.macosx-11-x86_64-3.9/psutil
creating build/temp.macosx-11-x86_64-3.9/psutil/arch
creating build/temp.macosx-11-x86_64-3.9/psutil/arch/osx
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=573 -DPSUTIL_OSX=1 -I/usr/local/include -I/usr/local/opt/[email protected]/include -I/usr/local/opt/sqlite/include -I/Users/julianschubert/.config/nvim/env/include -I/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c psutil/_psutil_common.c -o build/temp.macosx-11-x86_64-3.9/psutil/_psutil_common.o
Traceback (most recent call last):
File "", line 1, in
File "/private/var/folders/h1/vb3brhtn4b33_yrs_n9x61xm0000gn/T/pip-install-2rgey38d/psutil_ae5141ce392a4f21b86195705f7f61dd/setup.py", line 442, in
main()
File "/private/var/folders/h1/vb3brhtn4b33_yrs_n9x61xm0000gn/T/pip-install-2rgey38d/psutil_ae5141ce392a4f21b86195705f7f61dd/setup.py", line 409, in main
setup(**kwargs)
File "/Users/julianschubert/.config/nvim/env/lib/python3.9/site-packages/setuptools/init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/Users/julianschubert/.config/nvim/env/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 299, in run
self.run_command('build')
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/Users/julianschubert/.config/nvim/env/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 79, in run
_build_ext.run(self)
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/command/build_ext.py", line 449, in build_extensions
self._build_extensions_serial()
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/command/build_ext.py", line 474, in _build_extensions_serial
self.build_extension(ext)
File "/Users/julianschubert/.config/nvim/env/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 196, in build_extension
_build_ext.build_extension(self, ext)
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/command/build_ext.py", line 529, in build_extension
objects = self.compiler.compile(sources,
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/ccompiler.py", line 574, in compile
self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/unixccompiler.py", line 117, in _compile
self.spawn(compiler_so + cc_args + [src, '-o', obj] +
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/ccompiler.py", line 910, in spawn
spawn(cmd, dry_run=self.dry_run)
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/spawn.py", line 66, in spawn
if _cfg_target_split > [int(x) for x in cur_target.split('.')]:
AttributeError: 'int' object has no attribute 'split'
LINELINELINE
ERROR: Failed building wheel for psutil
Running setup.py clean for psutil
Building wheel for setproctitle (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: /Users/julianschubert/.config/nvim/env/bin/python /Users/julianschubert/.config/nvim/env/lib/python3.9/site-packages/pip/vendor/pep517/in_process.py build_wheel /var/folders/h1/vb3brhtn4b33_yrs_n9x61xm0000gn/T/tmpmjc6ornn
cwd: /private/var/folders/h1/vb3brhtn4b33_yrs_n9x61xm0000gn/T/pip-install-2rgey38d/setproctitle_f3974af8a45e452a8ef39afe71544701
Complete output (66 lines):
running bdist_wheel
running build
running build_ext
building 'setproctitle' extension
creating build
creating build/temp.macosx-11-x86_64-3.9
creating build/temp.macosx-11-x86_64-3.9/src
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DSPT_VERSION=1.2.1 -D__darwin
=1 -I/usr/local/include -I/usr/local/opt/[email protected]/include -I/usr/local/opt/sqlite/include -I/Users/julianschubert/.config/nvim/env/include -I/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c src/setproctitle.c -o build/temp.macosx-11-x86_64-3.9/src/setproctitle.o
Traceback (most recent call last):
File "/Users/julianschubert/.config/nvim/env/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py", line 280, in
main()
File "/Users/julianschubert/.config/nvim/env/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py", line 263, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/Users/julianschubert/.config/nvim/env/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py", line 204, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
File "/private/var/folders/h1/vb3brhtn4b33_yrs_n9x61xm0000gn/T/pip-build-env-48f4gjau/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 216, in build_wheel
return self._build_with_temp_dir(['bdist_wheel'], '.whl',
File "/private/var/folders/h1/vb3brhtn4b33_yrs_n9x61xm0000gn/T/pip-build-env-48f4gjau/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 202, in _build_with_temp_dir
self.run_setup()
File "/private/var/folders/h1/vb3brhtn4b33_yrs_n9x61xm0000gn/T/pip-build-env-48f4gjau/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 253, in run_setup
super(_BuildMetaLegacyBackend,
File "/private/var/folders/h1/vb3brhtn4b33_yrs_n9x61xm0000gn/T/pip-build-env-48f4gjau/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 145, in run_setup
exec(compile(code, file, 'exec'), locals())
File "setup.py", line 87, in
setup(
File "/private/var/folders/h1/vb3brhtn4b33_yrs_n9x61xm0000gn/T/pip-build-env-48f4gjau/overlay/lib/python3.9/site-packages/setuptools/init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/private/var/folders/h1/vb3brhtn4b33_yrs_n9x61xm0000gn/T/pip-build-env-48f4gjau/overlay/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 299, in run
self.run_command('build')
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/private/var/folders/h1/vb3brhtn4b33_yrs_n9x61xm0000gn/T/pip-build-env-48f4gjau/overlay/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 79, in run
_build_ext.run(self)
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/command/build_ext.py", line 449, in build_extensions
self._build_extensions_serial()
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/command/build_ext.py", line 474, in _build_extensions_serial
self.build_extension(ext)
File "/private/var/folders/h1/vb3brhtn4b33_yrs_n9x61xm0000gn/T/pip-build-env-48f4gjau/overlay/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 196, in build_extension
_build_ext.build_extension(self, ext)
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/command/build_ext.py", line 529, in build_extension
objects = self.compiler.compile(sources,
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/ccompiler.py", line 574, in compile
self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/unixccompiler.py", line 117, in _compile
self.spawn(compiler_so + cc_args + [src, '-o', obj] +
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/ccompiler.py", line 910, in spawn
spawn(cmd, dry_run=self.dry_run)
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/spawn.py", line 66, in spawn
if _cfg_target_split > [int(x) for x in cur_target.split('.')]:
AttributeError: 'int' object has no attribute 'split'
LINELINELINE
ERROR: Failed building wheel for setproctitle
Building wheel for greenlet (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /Users/julianschubert/.config/nvim/env/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/h1/vb3brhtn4b33_yrs_n9x61xm0000gn/T/pip-install-2rgey38d/greenlet_7eac671c097c4787bc3ee7c5af3cdf96/setup.py'"'"'; file='"'"'/private/var/folders/h1/vb3brhtn4b33_yrs_n9x61xm0000gn/T/pip-install-2rgey38d/greenlet_7eac671c097c4787bc3ee7c5af3cdf96/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/h1/vb3brhtn4b33_yrs_n9x61xm0000gn/T/pip-wheel-gy2_wahe
cwd: /private/var/folders/h1/vb3brhtn4b33_yrs_n9x61xm0000gn/T/pip-install-2rgey38d/greenlet_7eac671c097c4787bc3ee7c5af3cdf96/
Complete output (50 lines):
running bdist_wheel
running build
running build_ext
building 'greenlet' extension
creating build
creating build/temp.macosx-11-x86_64-3.9
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I/usr/local/include -I/usr/local/opt/[email protected]/include -I/usr/local/opt/sqlite/include -I/Users/julianschubert/.config/nvim/env/include -I/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c greenlet.c -o build/temp.macosx-11-x86_64-3.9/greenlet.o
Traceback (most recent call last):
File "", line 1, in
File "/private/var/folders/h1/vb3brhtn4b33_yrs_n9x61xm0000gn/T/pip-install-2rgey38d/greenlet_7eac671c097c4787bc3ee7c5af3cdf96/setup.py", line 71, in
setup(
File "/Users/julianschubert/.config/nvim/env/lib/python3.9/site-packages/setuptools/init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/Users/julianschubert/.config/nvim/env/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 299, in run
self.run_command('build')
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/command/build_ext.py", line 449, in build_extensions
self._build_extensions_serial()
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/command/build_ext.py", line 474, in _build_extensions_serial
self.build_extension(ext)
File "/private/var/folders/h1/vb3brhtn4b33_yrs_n9x61xm0000gn/T/pip-install-2rgey38d/greenlet_7eac671c097c4787bc3ee7c5af3cdf96/my_build_ext.py", line 42, in build_extension
_build_ext.build_extension(self, ext)
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/command/build_ext.py", line 529, in build_extension
objects = self.compiler.compile(sources,
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/ccompiler.py", line 574, in compile
self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/unixccompiler.py", line 117, in _compile
self.spawn(compiler_so + cc_args + [src, '-o', obj] +
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/ccompiler.py", line 910, in spawn
spawn(cmd, dry_run=self.dry_run)
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/spawn.py", line 66, in spawn
if _cfg_target_split > [int(x) for x in cur_target.split('.')]:
AttributeError: 'int' object has no attribute 'split'
LINELINELINE
ERROR: Failed building wheel for greenlet
Running setup.py clean for greenlet
Building wheel for MarkupSafe (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /Users/julianschubert/.config/nvim/env/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/h1/vb3brhtn4b33_yrs_n9x61xm0000gn/T/pip-install-2rgey38d/markupsafe_b4dc855cd88444209ba51ee97a9f8c3c/setup.py'"'"'; file='"'"'/private/var/folders/h1/vb3brhtn4b33_yrs_n9x61xm0000gn/T/pip-install-2rgey38d/markupsafe_b4dc855cd88444209ba51ee97a9f8c3c/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/h1/vb3brhtn4b33_yrs_n9x61xm0000gn/T/pip-wheel-3l_gbcey
cwd: /private/var/folders/h1/vb3brhtn4b33_yrs_n9x61xm0000gn/T/pip-install-2rgey38d/markupsafe_b4dc855cd88444209ba51ee97a9f8c3c/
Complete output (77 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-11-x86_64-3.9
creating build/lib.macosx-11-x86_64-3.9/markupsafe
copying src/markupsafe/_constants.py -> build/lib.macosx-11-x86_64-3.9/markupsafe
copying src/markupsafe/init.py -> build/lib.macosx-11-x86_64-3.9/markupsafe
copying src/markupsafe/_native.py -> build/lib.macosx-11-x86_64-3.9/markupsafe
copying src/markupsafe/_compat.py -> build/lib.macosx-11-x86_64-3.9/markupsafe
running egg_info
writing src/MarkupSafe.egg-info/PKG-INFO
writing dependency_links to src/MarkupSafe.egg-info/dependency_links.txt
writing top-level names to src/MarkupSafe.egg-info/top_level.txt
reading manifest file 'src/MarkupSafe.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs/_build'
warning: no previously-included files matching '*.py[co]' found anywhere in distribution
writing manifest file 'src/MarkupSafe.egg-info/SOURCES.txt'
copying src/markupsafe/_speedups.c -> build/lib.macosx-11-x86_64-3.9/markupsafe
running build_ext
building 'markupsafe._speedups' extension
creating build/temp.macosx-11-x86_64-3.9
creating build/temp.macosx-11-x86_64-3.9/src
creating build/temp.macosx-11-x86_64-3.9/src/markupsafe
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I/usr/local/include -I/usr/local/opt/[email protected]/include -I/usr/local/opt/sqlite/include -I/Users/julianschubert/.config/nvim/env/include -I/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c src/markupsafe/_speedups.c -o build/temp.macosx-11-x86_64-3.9/src/markupsafe/_speedups.o
Traceback (most recent call last):
File "", line 1, in
File "/private/var/folders/h1/vb3brhtn4b33_yrs_n9x61xm0000gn/T/pip-install-2rgey38d/markupsafe_b4dc855cd88444209ba51ee97a9f8c3c/setup.py", line 105, in
run_setup(True)
File "/private/var/folders/h1/vb3brhtn4b33_yrs_n9x61xm0000gn/T/pip-install-2rgey38d/markupsafe_b4dc855cd88444209ba51ee97a9f8c3c/setup.py", line 53, in run_setup
setup(
File "/Users/julianschubert/.config/nvim/env/lib/python3.9/site-packages/setuptools/init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/Users/julianschubert/.config/nvim/env/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 299, in run
self.run_command('build')
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/private/var/folders/h1/vb3brhtn4b33_yrs_n9x61xm0000gn/T/pip-install-2rgey38d/markupsafe_b4dc855cd88444209ba51ee97a9f8c3c/setup.py", line 36, in run
build_ext.run(self)
File "/Users/julianschubert/.config/nvim/env/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 79, in run
_build_ext.run(self)
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/command/build_ext.py", line 449, in build_extensions
self._build_extensions_serial()
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/command/build_ext.py", line 474, in _build_extensions_serial
self.build_extension(ext)
File "/private/var/folders/h1/vb3brhtn4b33_yrs_n9x61xm0000gn/T/pip-install-2rgey38d/markupsafe_b4dc855cd88444209ba51ee97a9f8c3c/setup.py", line 42, in build_extension
build_ext.build_extension(self, ext)
File "/Users/julianschubert/.config/nvim/env/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 196, in build_extension
_build_ext.build_extension(self, ext)
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/command/build_ext.py", line 529, in build_extension
objects = self.compiler.compile(sources,
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/ccompiler.py", line 574, in compile
self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/unixccompiler.py", line 117, in _compile
self.spawn(compiler_so + cc_args + [src, '-o', obj] +
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/ccompiler.py", line 910, in spawn
spawn(cmd, dry_run=self.dry_run)
File "/usr/local/Cellar/[email protected]/3.9.0_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/distutils/spawn.py", line 66, in spawn
if _cfg_target_split > [int(x) for x in cur_target.split('.')]:
AttributeError: 'int' object has no attribute 'split'
LINELINELINELINE
ERROR: Failed building wheel for MarkupSafe
Running setup.py clean for MarkupSafe
Failed to build psutil setproctitle greenlet MarkupSafe
ERROR: Could not build wheels for setproctitle which use PEP 517 and cannot be installed directly

NOTE I replaced -------- in the error message above with LINELINELINE so markdown doesn't get confused

How I modified install.sh

  1. Removed sudo apt updatein line 9
  2. Replaced sudo apt install neovim python3 python3-pip python3-venv git curl exuberant-ctags -y with brew install neovim and brew install ctags

What I've tried

  1. Installing pynvimoutside of a venv - same error
  2. Exchanging pip install with pip3 install
  3. Adding sudo in front of the commands
  4. Adding the flag --user to the pip-installs

Current state:

I am able to use the nvim-command, however I get the following Error-message:


[deoplete] deoplete failed to load. Try the :UpdateRemotePlugins command and restart Neovim. See also :checkhealth.


:UpdateRemotePlugins yields the following message:

Error message

function remote#host#UpdateRemotePlugins[6]..114_RegistrationCommands[15]..remote#host#Require[10]..provider#pythonx#Require[13]..provider#Poll, Zeile 4
Vim(if):Error invoking 'poll' on channel 4:^@ch 4 was closed by the client
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'neovim'
function remote#host#UpdateRemotePlugins[6]..114_RegistrationCommands[15]..remote#host#Require[10]..provider#pythonx#Require[13]..provider#Poll, Zeile 14
Failed to load python3 host. You can try to see what happened by starting nvim with $NVIM_PYTHON_LOG_FILE set and opening the generated log file. Also, the host stderr is
available in messages.
remote/host: generated rplugin manifest: /Users/julianschubert/.local/share/nvim/rplugin.vim
Betätigen Sie die EINGABETASTE oder geben Sie einen Befehl ein

:checkhealth yields the following message

Error message

31 ## terminal
32 - INFO: key_backspace (kbs) terminfo entry: key_backspace=^H
33 - INFO: key_dc (kdch1) terminfo entry: key_dc=\E[3~
34 - INFO: $TERM_PROGRAM='Apple_Terminal'
35
36 health#provider#check
37 ========================================================================
38 ## Clipboard (optional)
39 - OK: Clipboard tool found: pbcopy
40
41 ## Python 2 provider (optional)
42 - INFO: pyenv: Path: /usr/local/Cellar/pyenv/1.2.21/libexec/pyenv
43 - INFO: pyenv: $PYENV_ROOT is not set. Infer from pyenv root.
44 - WARNING: pyenv: Root does not exist: /Users/julianschubert/.pyenv. Ignoring pyenv for all following checks.
45 - WARNING: No Python executable found that can import neovim. Using the first available executable for diagnostics.
46 - ERROR: Python provider error:
47 - ADVICE:
48 ▏ - provider/pythonx: Could not load Python 2:
49 ▏ ▏ /usr/bin/python2 does not have the "neovim" module. :help ▏provider-python▏
50 ▏ ▏ /usr/bin/python2.7 does not have the "neovim" module. :help ▏provider-python▏
51 ▏ ▏ python2.6 not found in search path or not executable.
52 ▏ ▏ /usr/bin/python does not have the "neovim" module. :help ▏provider-python▏
53 - INFO: Executable: Not found
54
55 ## Python 3 provider (optional)
56 - INFO: pyenv: Path: /usr/local/Cellar/pyenv/1.2.21/libexec/pyenv
57 - INFO: pyenv: $PYENV_ROOT is not set. Infer from pyenv root.
58 - WARNING: pyenv: Root does not exist: /Users/julianschubert/.pyenv. Ignoring pyenv for all following checks.
59 - INFO: Using: g:python3_host_prog = "/Users/julianschubert/.config/nvim/env/bin/python"
60 - INFO: Executable: /Users/julianschubert/.config/nvim/env/bin/python
61 - ERROR: Command error (job=8, exit code 1): /Users/julianschubert/.config/nvim/env/bin/python -c 'import sys; sys.path.remove(""); import neovim; print(neovim. file)' (in '/Users/julianschubert/Documents/neovim-init.vim')
62 Output: Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'neovim'
63 Stderr: Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'neovim'
64 - INFO: Python version: 3.9.0
65 - INFO: pynvim version: unable to load neovim Python module
66 - ERROR: pynvim is not installed.
67 Error: unable to load neovim Python module

It would be really great if someone could help me fix this.
I've set up an Ubuntu-VM just to ensure it's a macOS problem (or at least the fault of my macOS installation) and on Linux it worked like charm and looks / feels really great to use.

Change Colorscheme

Hey I want to change the colorscheme form dracula to some other colorscheme but can't seem to make it work.

Can you tell me which lines i need to edit/remove to make it work. Although I am searching the init.vim of yours to find a way but appreciate the help.

Thanks!

Question on fonts

I am new to vim. So, I need to resolve two things here. Could you please say how to achieve the following?

  1. Remove the italics (see the image below)
  2. Assign a separate font just for italics (which is possible in VSCode)

nvim_italics

I want to remove the italics from the above image or assign a new font separately for italics. Right now, I am using FiraCode Nerd Font

MacOS - nvim green screen

Hi, everything works on my machine.

However, I keep on running into a green screen when I open my .py files in nvim.

Screenshot 2023-06-12 at 11 03 13 AM

Can't run .sh file

laptop:~ dk$ /Users/dk/Downloads/neovim-init.vim-master/install.sh
[*] Preparing Neovim config directory ...
[*] App installing Neovim and its dependencies (Python 3 and git), and dependencies for tagbar (exuberant-ctags) ...
Password: {REDACTED}
Unable to locate an executable at "/Library/Java/JavaVirtualMachines/jdk-12.0.2.jdk/Contents/Home/bin/apt" (-1)```

MacOS 1.14

Pyright-langserver failed in WSL2

Hello, I've installed your neovim configuration in my WSL2. But when I tried to create python file using nvim, it said "Spawning language server with cmd: pyright-langserver failed. The language server is either not installed, missing from PATH, or not executable. "
I'm using your configuration too in my Linux Mint laptop and it worked.
Is there any configuration which I should change?

Color Picker

Hey, don't mean to be pedantic but think you may have missed something.
You mention in your readme about Alt-R for color picker, but I cant get this to work and see no evidence of it in your init.vim.

Hope this is helpful and not just a dig :D

PS love the commit messages ;)

Optixal in the Lazyman Neovim Configuration Manager

I've created a Neovim Configuration Manager that supports easy installation and initialization of multiple Neovim configurations using the NVIM_APPNAME environment variable in Neovim 0.9. I call it Lazyman and include support for your neovim-init.vim repository (called Optixal in Lazyman) as one of the "Personal" Neovim configurations installed and initialized by lazyman.

See https://github.com/doctorfree/nvim-lazyman for info on Lazyman.

I'm contacting the maintainers of the Lazyman supported Neovim configurations to seek any feedback on the description, installation, and initialization of their config in Lazyman. Please feel free to let me know what I'm doing wrong or how I could improve the incorporation of Optixal in Lazyman. If you feel there is a need to modify the way Optixal is used in Lazyman then open an issue at https://github.com/doctorfree/nvim-lazyman/issues

This isn't really an issue with Optixal, it is just a heads up and request for feedback.

Optixal is very cool. Thanks!

deoplete failed to load.

actions:

  • starting nvim getting this message at the bottom

[deoplete] deoplete failed to load. Try the:UpdateRemotePlugins command and restart Neovim. See also:checkhealth.

  • when I try to :UpdateRemotePlugins I get :
function remote#host#UpdateRemotePlugins[6]..<SNR>110_RegistrationCommands[15]..remote#host#Require[10]..provider#pythonx#Require[13]..provider#Poll, line 4      
Vim(if):Error invoking 'poll' on channel 4:^@ch 4 was closed by the client
function remote#host#UpdateRemotePlugins[6]..<SNR>110_RegistrationCommands[15]..remote#host#Require[10]..provider#pythonx#Require[13]..provider#Poll, line 14
Failed to load python3 host. You can try to see what happened by starting nvim with $NVIM_PYTHON_LOG_FILE set and opening the generated log file. Also, the host stderr is
 available in messages.
remote/host: generated rplugin manifest: /home/itail/.local/share/nvim/rplugin.vim
  • :checkhealth
  2 health#deoplete#check
  3 ========================================================================
  4 ## deoplete.nvim
  5   - OK: exists("v:t_list") was successful
  6   - OK: has("timers") was successful
  7   - OK: has("python3") was successful
  8   - OK: Require Python 3.6.1+ was successful
  9   - OK: Require msgpack 1.0.0+ was successful
 10   - INFO: If you're still having problems, try the following commands:
 11     $ export NVIM_PYTHON_LOG_FILE=/tmp/log
 12     $ export NVIM_PYTHON_LOG_LEVEL=DEBUG
 13     $ nvim
 14     $ cat /tmp/log_{PID}
 15     and then create an issue on github
 16 
 17 health#nvim#check
 18 ========================================================================
 19 ## Configuration
 20   - OK: no issues found
 21 
 22 ## Performance
 23   - OK: Build type: Release
 24 
 25 ## Remote Plugins
 26   - WARNING: "deoplete.nvim" is not registered.
 27   - WARNING: Out of date
 28     - ADVICE:
 29     ▏ - Run `:UpdateRemotePlugins`
 30 
 31 ## terminal
 32   - INFO: key_backspace (kbs) terminfo entry: key_backspace=^H
 33   - INFO: key_dc (kdch1) terminfo entry: key_dc=\E[3~
 34   - INFO: $COLORTERM='truecolor'
 35 
 36 health#provider#check
 37 ========================================================================
 38 ## Clipboard (optional)
 39   - OK: Clipboard tool found: xclip
 40 
 41 ## Python 2 provider (optional)
 42   - WARNING: No Python executable found that can `import neovim`. Using the first available executable for diagnostics.
 43   - ERROR: Python provider error:
 44     - ADVICE:
 45     ▏ - provider/pythonx: Could not load Python 2:
 46     ▏   ▏ /usr/bin/python2 does not have the "neovim" module. :help |provider-python|
 47     ▏   ▏ /usr/bin/python2.7 does not have the "neovim" module. :help |provider-python|
 48     ▏   ▏ python2.6 not found in search path or not executable.
 49     ▏   ▏ /usr/bin/python is Python 3.8 and cannot provide Python 2.
 50   - INFO: Executable: Not found
 51 
 52 ## Python 3 provider (optional)
 53   - INFO: Using: g:python3_host_prog = "/home/itail/.config/nvim/env/bin/python"
 54   - INFO: Executable: /home/itail/.config/nvim/env/bin/python
 55   - INFO: Python version: 3.8.1
 56   - INFO: pynvim version: 0.2.6 (outdated; from ~/.config/nvim/env/lib/python3.8/site-packages/neovim)
 57   - WARNING: Latest pynvim is NOT installed: 0.4.1
 58 
 59 ## Ruby provider (optional)
 60   - INFO: Ruby: 1293ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-linux]
 61   - WARNING: neovim-ruby-host not found.
 62     - ADVICE:
 63     ▏ - Run ▏gem install neovim▏ to ensure the neovim RubyGem is installed.
 64     ▏ - Run ▏gem environment▏ to ensure the gem bin directory is in $PATH.
 65     ▏ - If you are using rvm/rbenv/chruby, try "rehashing".
 66     ▏ - See :help ▏g:ruby_host_prog▏ for non-standard gem installations.
 67 
 68 ## Node.js provider (optional)
 69   - WARNING: node and npm (or yarn) must be in $PATH.
 70     - ADVICE:
 71     ▏ - Install Node.js and verify that ▏node▏ and ▏npm▏ (or ▏yarn▏) commands work.
 72 

thanks in advance.
btw great work

Default installation breaks on my mac

First I start the installation.

✔  convenience [master|✔] $ ./install.sh
[*] Preparing Neovim config directory ...
[*] Installing dependencies ...
Running `brew update --auto-update`...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).

You have 1 outdated formula installed.
You can upgrade it with brew upgrade
or list it with brew outdated.

Warning: wget 1.21.3 is already installed and up-to-date.
To reinstall 1.21.3, run:
  brew reinstall wget
Warning: curl 7.85.0 is already installed and up-to-date.
To reinstall 7.85.0, run:
  brew reinstall curl
Warning: git 2.38.1 is already installed and up-to-date.
To reinstall 2.38.1, run:
  brew reinstall git
Warning: gcc 12.2.0 is already installed and up-to-date.
To reinstall 12.2.0, run:
  brew reinstall gcc
Warning: ripgrep 13.0.0 is already installed and up-to-date.
To reinstall 13.0.0, run:
  brew reinstall ripgrep
Warning: [email protected] 3.10.8 is already installed and up-to-date.
To reinstall 3.10.8, run:
  brew reinstall [email protected]
[*] Installing neovim 0.7.0 ...
--2022-10-22 21:59:31--  https://github.com/neovim/neovim/releases/download/v0.7.0/nvim-linux64.tar.gz
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/16408992/9d82bc7f-5952-434e-8b29-099724b9bd27?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20221022%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221022T195932Z&X-Amz-Expires=300&X-Amz-Signature=217da7c8527c3fc567c4e234d9e7f9c4a6b9680545edfd69f173edfa912e251c&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=16408992&response-content-disposition=attachment%3B%20filename%3Dnvim-linux64.tar.gz&response-content-type=application%2Foctet-stream [following]
--2022-10-22 21:59:32--  https://objects.githubusercontent.com/github-production-release-asset-2e65be/16408992/9d82bc7f-5952-434e-8b29-099724b9bd27?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20221022%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221022T195932Z&X-Amz-Expires=300&X-Amz-Signature=217da7c8527c3fc567c4e234d9e7f9c4a6b9680545edfd69f173edfa912e251c&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=16408992&response-content-disposition=attachment%3B%20filename%3Dnvim-linux64.tar.gz&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.108.133, 185.199.111.133, 185.199.110.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10264518 (9,8M) [application/octet-stream]
Saving to: ‘/tmp/nvim-linux64.tar.gz’

/tmp/nvim-linux64.tar.gz        100%[======================================================>]   9,79M  3,39MB/s    in 2,9s

2022-10-22 21:59:35 (3,39 MB/s) - ‘/tmp/nvim-linux64.tar.gz’ saved [10264518/10264518]

[*] Installing nvm 0.39.1 ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 15037  100 15037    0     0  54391      0 --:--:-- --:--:-- --:--:-- 55899
=> nvm is already installed in /Users/eocansey/.nvm, trying to update using git
=> => Compressing and cleaning up git repository

=> nvm source string already in /Users/eocansey/.bash_profile
=> bash_completion source string already in /Users/eocansey/.bash_profile
Your user’s .npmrc file (${HOME}/.npmrc)
has a `globalconfig` and/or a `prefix` setting, which are incompatible with nvm.
Run `nvm use --delete-prefix v18.0.0 --silent` to unset it.
=> Close and reopen your terminal to start using nvm or run the following to use it now:

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion
Your user’s .npmrc file (${HOME}/.npmrc)
has a `globalconfig` and/or a `prefix` setting, which are incompatible with nvm.
Run `nvm use --delete-prefix v18.0.0 --silent` to unset it.
✘-11  convenience [master|✔] $ export NVM_DIR="$HOME/.nvm"
✔  convenience [master|✔] $ [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
Your user’s .npmrc file (${HOME}/.npmrc)
has a `globalconfig` and/or a `prefix` setting, which are incompatible with nvm.
Run `nvm use --delete-prefix v18.0.0 --silent` to unset it.
✘-11  convenience [master|✔] $ 

Then it breaks here. Afterwards I run this

✘-11  convenience [master|✔] $ nvm use --delete-prefix v18.0.0 --silent
✔  convenience [master|✔] $ ./install.sh
[*] Preparing Neovim config directory ...
[*] Installing dependencies ...
Warning: wget 1.21.3 is already installed and up-to-date.
To reinstall 1.21.3, run:
  brew reinstall wget
Warning: curl 7.85.0 is already installed and up-to-date.
To reinstall 7.85.0, run:
  brew reinstall curl
Warning: git 2.38.1 is already installed and up-to-date.
To reinstall 2.38.1, run:
  brew reinstall git
Warning: gcc 12.2.0 is already installed and up-to-date.
To reinstall 12.2.0, run:
  brew reinstall gcc
Warning: ripgrep 13.0.0 is already installed and up-to-date.
To reinstall 13.0.0, run:
  brew reinstall ripgrep
Warning: [email protected] 3.10.8 is already installed and up-to-date.
To reinstall 3.10.8, run:
  brew reinstall [email protected]
[*] Installing neovim 0.7.0 ...
--2022-10-22 22:01:32--  https://github.com/neovim/neovim/releases/download/v0.7.0/nvim-linux64.tar.gz
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/16408992/9d82bc7f-5952-434e-8b29-099724b9bd27?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20221022%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221022T195932Z&X-Amz-Expires=300&X-Amz-Signature=217da7c8527c3fc567c4e234d9e7f9c4a6b9680545edfd69f173edfa912e251c&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=16408992&response-content-disposition=attachment%3B%20filename%3Dnvim-linux64.tar.gz&response-content-type=application%2Foctet-stream [following]
--2022-10-22 22:01:32--  https://objects.githubusercontent.com/github-production-release-asset-2e65be/16408992/9d82bc7f-5952-434e-8b29-099724b9bd27?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20221022%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221022T195932Z&X-Amz-Expires=300&X-Amz-Signature=217da7c8527c3fc567c4e234d9e7f9c4a6b9680545edfd69f173edfa912e251c&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=16408992&response-content-disposition=attachment%3B%20filename%3Dnvim-linux64.tar.gz&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.108.133, 185.199.111.133, 185.199.110.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10264518 (9,8M) [application/octet-stream]
Saving to: ‘/tmp/nvim-linux64.tar.gz’

/tmp/nvim-linux64.tar.gz        100%[======================================================>]   9,79M  3,28MB/s    in 3,0s

2022-10-22 22:01:35 (3,28 MB/s) - ‘/tmp/nvim-linux64.tar.gz’ saved [10264518/10264518]

[*] Installing nvm 0.39.1 ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 15037  100 15037    0     0   218k      0 --:--:-- --:--:-- --:--:--  248k
=> nvm is already installed in /Users/eocansey/.nvm, trying to update using git
=> => Compressing and cleaning up git repository

=> nvm source string already in /Users/eocansey/.bash_profile
=> bash_completion source string already in /Users/eocansey/.bash_profile
=> Close and reopen your terminal to start using nvm or run the following to use it now:

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion
[*] Installing node 18.0.0 ...
v18.0.0 is already installed.
Now using node v18.0.0 (npm v8.6.0)
[*] Setting npm config to use ~/.local as prefix ...
[*] Installing language servers ...

changed 1 package, and audited 2 packages in 5s

found 0 vulnerabilities
[*] Installing Python dependencies in a virtual environment ...
Collecting wheel
  Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB)
Installing collected packages: wheel
À^@ ^Y<90><80>^RV<88><94>^B^CK<81>^G^DÔqðX¦^^%c<81>BÈq¡
@<88>^F¦Ä^Ys<99>Q^N^L<99>^L`    9`^@Ò
Successfully installed wheel-0.37.1

[notice] A new release of pip available: 22.2.2 -> 22.3
  1 #!/bin/bash -e
  2
  3 # "Convenience" Install Script for Optixal's neovim-init.vim
  4
  5 # Installs neovim and all necessary dependencies for Optixal's neovim-init.vim. Does not check if dependencies have already     been installed. Highly recommended to go through each command and run them manually instead of using this convenience scri    pt, especially if you are running macOS or other Linux distros. For macOS, use homebrew instead of apt.
  6
  7 # Vars used when downloading and installing neovim and dependencies
  8 NEOVIM_VERSION=0.7.0
  9 NVM_VERSION=0.39.1
 10 NODE_VERSION=18.0.0
 11
 12 # Check if this script is being run in the "convenience" directory
 13 if ! [[ "$PWD" = */convenience ]]; then
 14     echo '[-] Please run the installation script within the "convenience" directory: cd convenience && ./install.sh'
 15     exit 1
 16 fi
 17
 18 # Check if existing nvim config is present
 19 if [ -f ~/.config/nvim/init.vim ] || [ -f ~/.config/nvim/init.lua ]; then
 20     echo '[-] Existing nvim init config file found in ~/.config/nvim/. Please backup or remove it first before running this     script.'
 21     exit 1
 22 fi
 23
 24 # Make config directory for Neovim's init.vim
 25 echo '[*] Preparing Neovim config directory ...'
 26 mkdir -p ~/.config/nvim
 27
 28 echo '[*] Installing dependencies ...'
 29 # Installs the following dependencies:
 30 #  * wget (for downloading neovim package)
:.,.+106107
[notice] To update, run: pip install --upgrade pip
Collecting pynvim
  Using cached pynvim-0.4.3-py3-none-any.whl
Collecting doq
  Using cached doq-0.9.1-py2.py3-none-any.whl
Collecting msgpack>=0.5.0
  Using cached msgpack-1.0.4-cp310-cp310-macosx_10_9_x86_64.whl (74 kB)
Collecting greenlet
  Using cached greenlet-1.1.3.post0-cp310-cp310-macosx_10_15_x86_64.whl (93 kB)
Collecting jinja2
  Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB)
Collecting toml
  Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting parso
  Using cached parso-0.8.3-py2.py3-none-any.whl (100 kB)
Collecting MarkupSafe>=2.0
  Using cached MarkupSafe-2.1.1-cp310-cp310-macosx_10_9_x86_64.whl (13 kB)
Installing collected packages: msgpack, toml, parso, MarkupSafe, greenlet, pynvim, jinja2, doq
Successfully installed MarkupSafe-2.1.1 doq-0.9.1 greenlet-1.1.3.post0 jinja2-3.1.2 msgpack-1.0.4 parso-0.8.3 pynvim-0.4.3 toml-0.10.2

[notice] A new release of pip available: 22.2.2 -> 22.3
[notice] To update, run: pip install --upgrade pip
[*] Installing vim-plug
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 83129  100 83129    0     0   439k      0 --:--:-- --:--:-- --:--:--  461k
[*] Running :PlugInstall within nvim ...
./install.sh: line 107: $HOME/.local/bin/nvim: cannot execute binary file

Kindly help

JS snippets don't work:

An error occured. This is either a bug in UltiSnips or a bug in a
  2 snippet definition. If you think this is a bug, please report it to
  3 https://github.com/SirVer/ultisnips/issues/new.
  4
  5 Following is the full stack trace:
  6 Traceback (most recent call last):
  7   File "/root/.config/nvim/plugged/ultisnips/pythonx/UltiSnips/err_to_scratch_buffer.py", line 16, in wrapper
  8     return func(self, *args, **kwds)
  9   File "/root/.config/nvim/plugged/ultisnips/pythonx/UltiSnips/snippet_manager.py", line 856, in _track_change
 10     self._try_expand(autotrigger_only=True)
 11   File "/root/.config/nvim/plugged/ultisnips/pythonx/UltiSnips/snippet_manager.py", line 702, in _try_expand
 12     snippets = self._snips(before, False, autotrigger_only)
 13   File "/root/.config/nvim/plugged/ultisnips/pythonx/UltiSnips/snippet_manager.py", line 575, in _snips
 14     source.ensure(filetypes, cached=autotrigger_only)
 15   File "/root/.config/nvim/plugged/ultisnips/pythonx/UltiSnips/snippet/source/file/_base.py", line 47, in ensure
 16     self._load_snippets_for(ft)
 17   File "/root/.config/nvim/plugged/ultisnips/pythonx/UltiSnips/snippet/source/file/_base.py", line 80, in _load_snippets_for
 18     self._parse_snippets(ft, fn)
 19   File "/root/.config/nvim/plugged/ultisnips/pythonx/UltiSnips/snippet/source/file/_base.py", line 99, in _parse_snippets
 20     raise SnippetSyntaxError(filename, line_index, msg)
 21 UltiSnips.snippet.source.file._base.SnippetSyntaxError: Invalid line '    console.log(${0});' in /usr/share/nvim/neovim-config/sni
    ppets/javascript.snippets:2

High CPU Usage

I don't know if is just a local problem but I have high performance issues with the package "context.vim".
Removing solves the problem, but i had to warn you in case anyone feel lagging in the terminal.

In case removing is not an option, the closer I saw from other cases like mine was that: wellle/context.vim#68,
But it's been some time the package isn't updated or it's issues solved.

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.