Coder Social home page Coder Social logo

ecosse3 / nvim Goto Github PK

View Code? Open in Web Editor NEW
1.1K 1.1K 107.0 9.93 MB

A non-minimal Neovim config built to work most efficiently with Frontend Development

License: GNU General Public License v3.0

Lua 96.65% Shell 2.97% Scheme 0.07% Vim Script 0.31%
dotfiles frontend neovim nvim reactjs vim

nvim's Introduction

Hi 👋, I'm Łukasz

A passionate Frontend Developer from Poland 🇵🇱

lukasz-kurpiewski kvsky_travel

ecosse3

  • 🔭   I’m currently working on neovim dotfiles and couple of not open-source business projects
  • 🌱   I’m currently learning Design in Figma, Three.js and Go Basics
  • 💬   Ask me about React.js, (Neo)Vim and Linux
  • 📫   Reach me at [email protected]

 

nvim's People

Contributors

akiletour avatar badhan-abhishek avatar ding-fan avatar dmmulroy avatar ecosse3 avatar h4ckint0sh avatar killerart avatar snjypl avatar techapostle 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

nvim's Issues

error on autocompletion because of cmp documentation deprecation

documentation = {...} was deprecated in favour of window = { documentation = ...}. Also I don think you need to state the window borders anymore in an object you can just do window = { documentation = cmp.config.window.bordered() } inside the cmp.lua config file. Sorry if I explained it badly.

E492: Not an editor command: PackerSync

So I tried multiple fixes, and none of them worked. It is thrown when I use the command bash <(curl -s https://raw.githubusercontent.com/ecosse3/nvim/master/.install/run.sh). I know its probably not a bugg or smth, but after searching for the right solution for hrs, I dont know anymore haha

Also, I am very sorry abt my bad english, if u cant understand smth, just tell me :)

tmux integration

Hi Łukasz, by far this is the best and most well-thought dotfiles I've ever used, great job! Do you think it is it possible to integrate tmux into this? I'd love to have the status bar at least.

Module nvim-lsp-installer not found

Hi, I love the look and functionality of this config but every time I launch nvim I get the following error. I've not tried fixing it myself as I don't want to break anything.

E5113: Error while calling lua chunk: /home/pilchh/.config/nvim/lua/lsp/setup.lua:4: module 'nvim-lsp-installer' not found:
        no field package.preload['nvim-lsp-installer']
        no file './nvim-lsp-installer.lua'
        no file '/usr/share/luajit-2.1.0-beta3/nvim-lsp-installer.lua'
        no file '/usr/local/share/lua/5.1/nvim-lsp-installer.lua'
        no file '/usr/local/share/lua/5.1/nvim-lsp-installer/init.lua'
        no file '/usr/share/lua/5.1/nvim-lsp-installer.lua'
        no file '/usr/share/lua/5.1/nvim-lsp-installer/init.lua'
        no file './nvim-lsp-installer.so'
        no file '/usr/local/lib/lua/5.1/nvim-lsp-installer.so'
        no file '/usr/lib/lua/5.1/nvim-lsp-installer.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
        [C]: in function 'require'
        /home/pilchh/.config/nvim/lua/lsp/setup.lua:4: in main chunk
        [C]: in function 'require'
        /home/pilchh/.config/nvim/init.lua:11: in main chunk
Press ENTER or type command to continue```

Install Script not working

I wanted to install it, but the installation script freezes when installing plugins, and then it is half installed, so I can't use it correctly and I have to remove all the configuration manually.
image
image
Am I doing something wrong?

Installation guide

Can you please write a 1-2 line guide on how to use this setup ? 🙏🏼

Keybindings and shortcuts explained

Hi,
Thanks for this config!
Once i updated to the latest neovim, the installer worked perfectly.
Now I'm trying to understand your key-bindings. For instance, could you please explain exactly what you mean for:

<C - e>

What keys is that exactly?

Is there a shortcut for toggling between opened files?
Or for searching for a file inside the File-Explorer?
Is it possible to open files next to each other in a split-display?
How do you comment out a single line?

Many thanks!

Errors after install

I am trying to install this project, apparently the installation works well, but I have some error messages

Error detected while processing /home/lramirez/.config/nvim/init.lua:
E5113: Error while calling lua chunk: /home/lramirez/.config/nvim/lua/autocmds.lua:1: attempt to call field 'nvim_create_augroup' (a nil valu
e)
stack traceback:
        /home/lramirez/.config/nvim/lua/autocmds.lua:1: in main chunk
        [C]: in function 'require'
        /home/lramirez/.config/nvim/init.lua:7: in main chunk

In some files I also have this error when I open a file:

Error executing vim.schedule lua callback: ...ite/pack/packer/opt/gitsigns.nvim/lua/gitsigns/async.lua:68: The coroutine failed with this message: /home/lramirez/.config/nvim/lua/plugins/gitsigns.lua:49: attemp
t to index field 'keymap' (a nil value)                                                                                                                                                                   
stack traceback:
        /home/lramirez/.config/nvim/lua/plugins/gitsigns.lua: in function 'map'
        /home/lramirez/.config/nvim/lua/plugins/gitsigns.lua:53: in function 'on_attach'
        ...nvim/site/pack/packer/opt/gitsigns.nvim/lua/gitsigns.lua:282: in function 'attach0'
        ...nvim/site/pack/packer/opt/gitsigns.nvim/lua/gitsigns.lua:344: in function 'attach'
        ...nvim/site/pack/packer/opt/gitsigns.nvim/lua/gitsigns.lua:567: in function <...nvim/site/pack/packer/opt/gitsigns.nvim/lua/gitsigns.lua:505>
stack traceback:
        [C]: in function 'error'
        ...ite/pack/packer/opt/gitsigns.nvim/lua/gitsigns/async.lua:68: in function <...ite/pack/packer/opt/gitsigns.nvim/lua/gitsigns/async.lua:63>

Possibly I have to do something on my side, but I don’t understand yet nvim and lua

How does this actually work on someone's local machine?

Hey, so this setup looks absolutely incredible!! I would love to start using this asap. I have recently uninstalled Neovim and SpaceVim in an effort to "start fresh" (I backed up all my older configs of course), and what I did was just clone down your repo to a random sandbox folder on my Mac, and then just moved the necessary files/folders (basically everything besides the screenshots folder and the README file, which obviously are not needed for install) into ~/.config/nvim. Is that not right?

I ask because even something as simple as just starting to try and do :PackerInstall when inside Neovim yields an error of

E492: Not an editor command: PackerInstall

Am I missing something? Am I doing something wrong, or should I not have moved the folders into the ~/.config/nvim directory? Any help you could provide would be tremendously appreciated, especially since there is no install guide or quick start guide or anything. In any case, awesome job on this setup!! I hope I get to experience it....

Everything broken and all errors relate to winbar

E5108: Error executing lua ...e/pack/packer/start/nvim-tree.lua/lua/nvim-tree/view.lua:83: Vim(append):Error execut
ing lua callback: vim/_meta.lua:0: Not a valid option name: winbar
stack traceback:
        [C]: in function 'assert'
        vim/_meta.lua: in function ''
        vim/_meta.lua: in function '__newindex'
        /Users/mugur/.config/nvim/lua/autocmds.lua:46: in function </Users/mugur/.config/nvim/lua/autocmds.lua:18>
        [C]: in function 'nvim_buf_set_name'
        ...e/pack/packer/start/nvim-tree.lua/lua/nvim-tree/view.lua:83: in function 'create_buffer'
        ...e/pack/packer/start/nvim-tree.lua/lua/nvim-tree/view.lua:180: in function 'open'
        ...te/pack/packer/start/nvim-tree.lua/lua/nvim-tree/lib.lua:78: in function 'open_view_and_draw'
        ...te/pack/packer/start/nvim-tree.lua/lua/nvim-tree/lib.lua:104: in function 'open'
        ...m/site/pack/packer/start/nvim-tree.lua/lua/nvim-tree.lua:52: in function 'open'
        ...m/site/pack/packer/start/nvim-tree.lua/lua/nvim-tree.lua:36: in function 'toggle'
        [string ":lua"]:1: in main chunk
stack traceback:
        [C]: in function 'nvim_buf_set_name'
        ...e/pack/packer/start/nvim-tree.lua/lua/nvim-tree/view.lua:83: in function 'create_buffer'
        ...e/pack/packer/start/nvim-tree.lua/lua/nvim-tree/view.lua:180: in function 'open'
        ...te/pack/packer/start/nvim-tree.lua/lua/nvim-tree/lib.lua:78: in function 'open_view_and_draw'
        ...te/pack/packer/start/nvim-tree.lua/lua/nvim-tree/lib.lua:104: in function 'open'
        ...m/site/pack/packer/start/nvim-tree.lua/lua/nvim-tree.lua:52: in function 'open'
        ...m/site/pack/packer/start/nvim-tree.lua/lua/nvim-tree.lua:36: in function 'toggle'
        [string ":lua"]:1: in main chunk

on nvim start :

lugins.dashboard' not found:^@^Ino field package.preload['plugins.dashboard']^@^Ino file './plugi
@^Ino file '/usr/local/Cellar/luajit-openresty/2.1-20220411/share/luajit-2.1.0-beta3/plugins/dash
ile '/usr/local/share/lua/5.1/plugins/dashboard.lua'^@^Ino file '/usr/local/share/lua/5.1/plugins
a'^@^Ino file '/usr/local/Cellar/luajit-openresty/2.1-20220411/share/lua/5.1/plugins/dashboard.lu
r/local/Cellar/luajit-openresty/2.1-20220411/share/lua/5.1/plugins/dashboard/init.lua'^@^Ino file
che/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/plugins/dashboard.lua'^@^Ino file '/Users/mug
ker_hererocks/2.1.0-beta3/share/lua/5.1/plugins/dashboard/init.lua'^@^Ino file '/Users/mugur/.cac
erocks/2.1.0-beta3/lib/luarocks/rocks-5.1/plugins/dashboard.lua'^@^Ino file '/Users/mugur/.cache/
cks/2.1.0-beta3/lib/luarocks/rocks-5.1/plugins/dashboard/init.lua'^@^Ino file './plugins/dashboar
/usr/local/lib/lua/5.1/plugins/dashboard.so'^@^Ino file '/usr/local/Cellar/luajit-openresty/2.1-2
1/plugins/dashboard.so'^@^Ino file '/usr/local/lib/lua/5.1/loadall.so'^@^Ino file '/Users/mugur/.
hererocks/2.1.0-beta3/lib/lua/5.1/plugins/dashboard.so'^@^Ino file './plugins.so'^@^Ino file '/us
1/plugins.so'^@^Ino file '/usr/local/Cellar/luajit-openresty/2.1-20220411/lib/lua/5.1/plugins.so'
local/lib/lua/5.1/loadall.so'^@^Ino file '/Users/mugur/.cache/nvim/packer_hererocks/2.1.0-beta3/l
.so'
Please check your config for correctness
Error detected while processing BufWinEnter Autocommands for "*":
Error executing lua callback: vim/_meta.lua:0: Not a valid option name: winbar
stack traceback:
        [C]: in function 'assert'
        vim/_meta.lua: in function ''
        vim/_meta.lua: in function '__newindex'
        /Users/mugur/.config/nvim/lua/autocmds.lua:46: in function </Users/mugur/.config/nvim/lua
Press ENTER or type command to continue```

Using nvim-gps plugin

As far as the Smitesh/nvim-gps that is part of this awesome config, is there a way to make the actual function/method name (or class name or variable name or whatever) show up in the galaxyline status bar.

By default it looks like the plugin displays the full path to the file (which is fantastic), the file type, and the file size. I heard that this plugin can actually display on a status bar the name of a method (in my case, JavaScript/React) that the cursor is inside of, in real time. I can't seem to get that to work.

Is there something I need to enable in the custom plugin settings or something like that? Thanks for any help or info!

Different theme

Any chance to add NeoSolarized theme or brief instructions of how to add it?

zenmode error executing lua

Fresh install, playing around in the dasboard and tried to enter zen mode

E5108: Error executing lua ...ite/pack/packer/opt/gitsigns.nvim/lua/gitsigns/async.lua:67: The coroutine failed with this message: ...e/pack/packer/opt/gitsigns.nvim/lua/gitsigns/manager.lua:420: attempt to index upvalue 'signs' (a nil value) stack traceback: ...e/pack/packer/opt/gitsigns.nvim/lua/gitsigns/manager.lua: in function 'reset_signs' ...e/pack/packer/opt/gitsigns.nvim/lua/gitsigns/actions.lua:1127: in function <...e/pack/packer/opt/gitsigns.nvim/lua/gitsigns/actions.lua:1126> stack traceback: [C]: in function 'error' ...ite/pack/packer/opt/gitsigns.nvim/lua/gitsigns/async.lua:67: in function 'step' ...ite/pack/packer/opt/gitsigns.nvim/lua/gitsigns/async.lua:83: in function 'execute' ...ite/pack/packer/opt/gitsigns.nvim/lua/gitsigns/async.lua:114: in function 'refresh' ...e/pack/packer/opt/gitsigns.nvim/lua/gitsigns/actions.lua:177: in function 'toggle_current_line_blame' /Users/mircea.dumitrescu/.config/nvim/lua/plugins/zen.lua:43: in function 'on_open' ...te/pack/packer/start/zen-mode.nvim/lua/zen-mode/view.lua:175: in function 'create' ...te/pack/packer/start/zen-mode.nvim/lua/zen-mode/view.lua:68: in function 'open' ...te/pack/packer/start/zen-mode.nvim/lua/zen-mode/view.lua:76: in function 'toggle' [string ":lua"]:1: in main chunk

Error detected while processing function UltiSnips#TrackChange:

When I launch nvim and start editing I face the below error -

Error detected while processing function UltiSnips#TrackChange:
line    1:
E319: No "python3" provider found. Run ":checkhealth provider"
Press ENTER or type command to continue

I've python3 in my PATH.

Here is the link to my error screenshot.

More Details -

OS Details -

$lsb_release -a
LSB Version:    1.4
Distributor ID: EndeavourOS
Description:    EndeavourOS Linux
Release:        rolling
Codename:       rolling

Neovim details -

c10 nvim -version     
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

git log - 214e264

[BUG] TypeScript Format Document

When running a format document command, that is gg=G, it completely blows up the formatting TypeScript files. I use this command pretty often to make sure formatting is "good" with JavaScript before committing code, but it's basically unusable in any project that uses TypeScript.

I'm not sure if this is a bug with neovim, the tsserver language server, or another plugin that is in-use within Ecovim, but it renders document formatting unusable in the context of anything-TypeScript.

Here's an example video of me formatting one of the files coming out of a remix framework base install using the indie-stack template (https://remix.run/docs/en/v1/tutorials/blog#creating-the-project)

ts-bad-formatting.mp4

Fresh install error

CleanShot 2022-06-01 at 10 35 59@2x

Hello - I am trying to install a fresh install of this setup and I am getting this error - any idea?

Need support for few more LSP

Hi,

Thanks for the amazing neovim config. Could you please add support for below languages -

  1. java - nvim-jdtls
  2. scala - nvim-scala
  3. clojure - there is a sample config available in this repo

I don't know lua very much if you could add these 3 languages support it would be great

Turn Off Autocomplete First Item Selection on Enter Key Press

I'm running into an issue where whatever plugin is being used to offer autocompletion suggestions is also automatically selecting the first one if I press the enter key, which is inserting a lot of extra text into my normal editing workflow that I then have to go back and delete...

Is there a way to turn this off?

image

If I press enter it inserts the extra blah entires instead of breaking onto the next line... I realize some people may want the "select first suggestion on enter" functionality, but I do not because in a lot of cases it's causing a bunch of extra text to be entered that I don't want there.

Opening the file explorer

I've re-installed Ecovim now, but whenever i want to open a file toogle the file explorer, the nvim-tree do a vertical split of the file that it's currently on in the file explorer. See the clip below.

Anyone else is having this issue?

Neovim.mp4

Can't open lazygit

First i just want to say thank you for this project that you've made opensource! Because of you i started to use Neovim im my day to day workflow! 👍🏻

So my issue is that when a want to open LazyGit it just opens for like 0.5 seconds then immediately closes. I'm in a project that uses git. When i want to open LazyGit i press gg.

nvim_create_augroup error and keymap error (in git repositories)

Noticing a few issues: one with startup and using nvim_create_augroup and another when selecting files from nvim-tree - the issue with nvim-tree and selecting files appears to be specific to git repositories.

Not sure how you like bug/issue reports (if this is even a bug?) to be submitted, but I don't mind submitting a separate one if that's what you'd prefer... just let me know!

This happens immediately upon startup:

Error detected while processing /Users/my.user.dir/.config/nvim/init.lua:                                                                                    
E5113: Error while calling lua chunk: /Users/my.user.dir/.config/nvim/lua/autocmds.lua:1: attempt to call field 'nvim_create_augroup' (a nil value)          
stack traceback:                                                                                                                                              
        /Users/my.user.dir/.config/nvim/lua/autocmds.lua:1: in main chunk                                                                                    
        [C]: in function 'require'                                                                                                                            
        /Users/my.user.dir/.config/nvim/init.lua:7: in main chunk                                                                                            
Press ENTER or type command to continue   

And this happens when opening a file from a git repository using nvim-tree:

Error executing vim.schedule lua callback: ...ite/pack/packer/opt/gitsigns.nvim/lua/gitsigns/async.lua:68: The coroutine failed with this message: /Users/my.user.dir/.config/nvim/lua/plugi
ns/gitsigns.lua:49: attempt to index field 'keymap' (a nil value)
stack traceback:
        /Users/my.user.dir/.config/nvim/lua/plugins/gitsigns.lua: in function 'map'
        /Users/my.user.dir/.config/nvim/lua/plugins/gitsigns.lua:53: in function 'on_attach'
        ...nvim/site/pack/packer/opt/gitsigns.nvim/lua/gitsigns.lua:282: in function 'attach0'
        ...nvim/site/pack/packer/opt/gitsigns.nvim/lua/gitsigns.lua:344: in function 'attach'
        ...nvim/site/pack/packer/opt/gitsigns.nvim/lua/gitsigns.lua:567: in function <...nvim/site/pack/packer/opt/gitsigns.nvim/lua/gitsigns.lua:505>
stack traceback:
        [C]: in function 'error'
        ...ite/pack/packer/opt/gitsigns.nvim/lua/gitsigns/async.lua:68: in function <...ite/pack/packer/opt/gitsigns.nvim/lua/gitsigns/async.lua:63>
Press ENTER or type command to continue

Error when opening neovim for the first time after the installation of ecovim

Errors executing /home/michele/.config/nvim/init.lua:
E5113: Error while calling lua chunk: /home/michele/.config/nvim/lua/packer_commands.lua:1: attempt to call field '
nvim_create_user_command' (a nil value)
stack traceback:
/home/michele/.config/nvim/lua/packer_commands.lua:1: in main chunk
[C]: in function 'require'
/home/michele/.config/nvim/init.lua:3: in main chunk
Error executing command line:
E492: Is not an editor command: PackerSync

typescript (tsx) format indentation not working

Hi,

Not sure this is related to nvim builds:
NVIM v0.8.0-dev+452-gb2ed439bd
Build type: Release
LuaJIT 2.1.0-beta3

cf nor vim.lsp.buf.format* works.
Only ggVG then = indents the file.

I have done nothing different or any customization

Launching nvim (ecovim) on a fresh Arch system throws the following errors:

Error detected while processing /home/kiand/.config/nvim/init.lua:
E5113: Error while calling lua chunk: /home/kiand/.config/nvim/lua/snippets/react.lua:1: module 'luasnip' not found:
no field package.preload['luasnip']
no file './luasnip.lua'
no file '/usr/share/luajit-2.1.0-beta3/luasnip.lua'
no file '/usr/local/share/lua/5.1/luasnip.lua'
no file '/usr/local/share/lua/5.1/luasnip/init.lua'
no file '/usr/share/lua/5.1/luasnip.lua'
no file '/usr/share/lua/5.1/luasnip/init.lua'
no file './luasnip.so'
no file '/usr/local/lib/lua/5.1/luasnip.so'
no file '/usr/lib/lua/5.1/luasnip.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'require'
/home/kiand/.config/nvim/lua/snippets/react.lua:1: in main chunk
[C]: in function 'require'
/home/kiand/.config/nvim/init.lua:16: in main chunk
Error detected while processing BufWinEnter Autocommands for "":
Error executing lua callback: vim/_meta.lua:0: Not a valid option name: winbar
stack traceback:
[C]: in function 'assert'
vim/_meta.lua: in function ''
vim/_meta.lua: in function '__newindex'
/home/kiand/.config/nvim/lua/autocmds.lua:43: in function </home/kiand/.config/nvim/lua/autocmds.lua:16>
E5108: Error executing lua ...m/site/pack/packer/start/packer.nvim/lua/packer/load.lua:165: Vim(echomsg):E114: Missing quote: "Error in packer_compiled: ...m/site/pack/packer/start/packer.nvim/lua/packer/loa
d.lua:110: Vim(append):Error executing lua callback: vim/_meta.lua:0: Not a valid option name: winbar
stack traceback:
[C]: in function 'cmd'
...m/site/pack/packer/start/packer.nvim/lua/packer/load.lua:165: in function <...m/site/pack/packer/start/packer.nvim/lua/packer/load.lua:161>
[string ":lua"]:1: in main chunk
Press ENTER or type command to continue
Error detected while processing CursorMoved Autocommands for "
":
Error executing lua callback: vim/_meta.lua:0: Not a valid option name: winbar
stack traceback:
[C]: in function 'assert'
vim/_meta.lua: in function ''
vim/_meta.lua: in function '__newindex'
/home/kiand/.config/nvim/lua/autocmds.lua:33: in function </home/kiand/.config/nvim/lua/autocmds.lua:16>

How to disable openrgb

I have rgb keyboard but dont want to install opnenrgb server.

Is there any way to disable it?
If I remove openrgb plugin or change anything else status line does not seem to be working.

It shows when nvim is opening but on focus gain it goes away.

something wrong when loading the theme

environment: mac os terminal.app + zsh latest
image

I haven't changed anything in .config/neovim

Something was wrong with the installation but I don't think that's a problem, still, I took a screenshot of the installation process.

image

image

image

No active LSP with not-included LSP servers

Before the last 1 or 2 commits, I could edit c++, python, and java files with the LSP servers that I installed in addition to your included ones. I could do this without creating any additional config files of my own. Now though, I can't use clangd or pyright or any other LSP server that isn't included with your package. Any guidance on how I can enable/configure these LSP servers?

Using impatient/mpack on a Mac M1

Hello @ecosse3

I'm using ecovim on Mac and I'm having a problem with impatient and mpack.

It is not possible to install mpack on Mac.

Is this extension mandatory? Is there an alternative ?

CleanShot 2022-02-15 at 00 48 37

If you have an idea, I'm interested

Usage of filetypes in LSP

Hello,

Thanks you for your amazing setup :) I love it !

I wanted to know how the LSP configuration files work.

For example on the HTML one, I would like to add filetypes but I don't know how to do it.

Should we do it in M.settings = {}?

Thanks a lot

'TabNine' is not executable

After fiddling around with the config and reinstalling it multiple times, I got everything working apart from whenever I enter insert mode or use fzf, I get the following error. Any idea what is going on?

Error executing vim.schedule lua callback: Vim:E475: Invalid value for argument cmd: '/home/pilchh/.local/share/nvim/sit
e/pack/packer/opt/cmp-tabnine/binaries/4.4.8/x86_64-unknown-linux-musl/TabNine' is not executable
stack traceback:
        [C]: in function 'jobstart'
        ...e/pack/packer/opt/cmp-tabnine/lua/cmp_tabnine/source.lua:234: in function '_on_exit'
        ...e/pack/packer/opt/cmp-tabnine/lua/cmp_tabnine/source.lua:135: in function 'new'
        ...ite/pack/packer/opt/cmp-tabnine/lua/cmp_tabnine/init.lua:8: in function <...ite/pack/packer/opt/cmp-tabnine/l
ua/cmp_tabnine/init.lua:7>

Side note: Is it possible to make nvim tree have a transparent background?

Some Plugins Can't Install

Hi,
i want to try out your nvim configuration. But i got some errors. First error caused by "impatient" and i solved it by commenting first line in init.vim lua require('impatient'). (After the :PackerInstall command finished i added that line again)

The error that i couldn't solve is caused by plugins. Some plugin's couldn't install. I tried install them via :PackerInstall but that did not work.

2021-10-18_12-28_1
2021-10-18_12-28_2
2021-10-18_12-28

When i try to open neo vim after those errors:

2021-10-18_12-17

Error from nvim-treesitter when saving a file

When saving a file, there is an error/warning (not sure which) thrown that is caused by a deprecated function call from nvim-treesitter.
The error states:
nvim-treesitter.ts_utils.get_node_text is deprecated: use vim.treesitter.query.get_node_text

Attempting to format any file returns error

When calling on the format function or setting format on save for any given file, the following error is returned.

Format:
E5108: Error executing lua [string ":lua"]:1: attempt to call field 'format' (a nil value)
stack traceback:
[string ":lua"]:1: in main chunk

Format on save:
Highlight group 'Normal' has no background highlight
Please provide an RGB hex value or highlight group with a background value for 'background_colour' option.
This is the colour that will be used for 100% transparency.
require("notify").setup({
background_colour = "#000000",
})
Defaulting to #000000

and attempting to save with this option:
Error detected while processing BufWritePre Autocommands for "*":
Error executing lua callback: /home/kian/.config/nvim/lua/lsp/functions.lua:6: attempt to call field 'format' (a nil value)

nvim 0.8 (nightly) install issue - winbar

Hello,

I've tried both master + dev branches, but i'm getting the same error when running the installer script.

Error detected while processing BufWinEnter Autocommands for "*":
Error executing lua callback: /Users/alan/.config/nvim/lua/autocmds.lua:40: attempt to index a boolean value
stack traceback:
        /Users/alan/.config/nvim/lua/autocmds.lua:40: in function </Users/alan/.config/nvim/lua/autocmds.lua:18>
Press ENTER or type command to continue

Post install, nvim opens and packer fetches everything ok it seems. Following plugin installation, nvim opens with the following error.

Error detected while processing BufWinEnter Autocommands for "*":
Error executing lua callback: /Users/alan/.config/nvim/lua/autocmds.lua:40: attempt to index a boolean value
stack traceback:
        /Users/alan/.config/nvim/lua/autocmds.lua:40: in function </Users/alan/.config/nvim/lua/autocmds.lua:18>
E5108: Error executing lua ...m/site/pack/packer/start/packer.nvim/lua/packer/load.lua:165: Vim(echomsg):E114: Missing quote: "
Error in packer_compiled: ...m/site/pack/packer/start/packer.nvim/lua/packer/load.lua:110: Vim(append):Error executing lua call
back: /Users/alan/.config/nvim/lua/autocmds.lua:40: attempt to index a boolean value
stack traceback:
        [C]: in function 'cmd'
        ...m/site/pack/packer/start/packer.nvim/lua/packer/load.lua:165: in function <...m/site/pack/packer/start/packer.nvim/l
ua/packer/load.lua:161>
        [string ":lua"]:1: in main chunk
Press ENTER or type command to continue

Sorry I don't feel capable of debugging this, as i'm not sure if the lua api has regressed somewhere, etc. This is my first steps into any of the new lua features in nvim.

Thanks!

Telescope hanging on grep

Hey.

I am getting huge memory spikes after running builtin.grep_string() or the picker rg.

  • Results in nvim completely hanging for about 2 minutes or so, before exiting telescope with error message:

  • error executing vim.schedule lua callback

  • buffer previewer expected lua number

  • Git files does not hang, or the other finders. I have tried the fzf-native plugin and the fzy-native plugin with no luck.

  • The grep string seems to only cause issues on particular searches.

  • if I grep 'hi' in my project, I get over 1000 matches, and I am able to navigate between the matches fine.

  • However if I search 'player' in my project, I get 500 matches, and telescope completely hangs the nvim client.

image
Seeing this odd memory spike behaviour after running grep.

Tried to replicate this on a minimal nvim init.lua with only Telescope installed, and saw that Telescope runs fine, so this is a matter of plugin conflict, or some other performance issue. I am running this on a pretty powerful 16Gb laptop.

error during install

i've tried to install but get this error

Cloning Ecovim configuration... 
Cloning into '/home/thiago/.config/nvim/ecovim'...
warning: Could not find remote branch install_script to clone.
fatal: Remote branch install_script not found in upstream origin
Failed to clone repository. Installation failed.

How do you change size of devicons?

Absolutely love this repo! One thing I noticed is how large the icons are in your tree and tabs. Have you done anything to manipulate this? React logos are quite small for me. Thanks!

Module not found WSL

I have just tried installing the config in WSL 2 running Arch I get the following error:

Error detected while processing /home/pilchh/.config/nvim/init.lua:
E5113: Error while calling lua chunk: /home/pilchh/.config/nvim/init.lua:1: module 'impatient' not found:
        no field package.preload['impatient']
        no file './impatient.lua'
        no file '/usr/share/luajit-2.1.0-beta3/impatient.lua'
        no file '/usr/local/share/lua/5.1/impatient.lua'
        no file '/usr/local/share/lua/5.1/impatient/init.lua'
        no file '/usr/share/lua/5.1/impatient.lua'
        no file '/usr/share/lua/5.1/impatient/init.lua'
        no file './impatient.so'
        no file '/usr/local/lib/lua/5.1/impatient.so'
        no file '/usr/lib/lua/5.1/impatient.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
        [C]: in function 'require'
        /home/pilchh/.config/nvim/init.lua:1: in main chunk
Press ENTER or type command to continue

I'm not sure if this is an issue with WSL 2 or something else entirely.

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.