LunarVim / Neovim-from-scratch

πŸ“š A Neovim config designed from scratch to be understandable
https://www.chrisatmachine.com/
GNU General Public License v3.0
5.31k stars 1.17k forks source link

Unusable on macOS #232

Closed damienbutt closed 1 year ago

damienbutt commented 1 year ago

Just tried to install this on macOS. Should this work?

Not having much luck. Constant errors to the point nvim is unusable.

Error detected while processing /Users/damienbutt/.config/nvim/init.lua:
E5113: Error while calling lua chunk: ...e/pack/packer/start/gitsigns.nvim/lua/gitsigns/async.lua:67: The coroutine failed with this message: Vim:E5248: Invalid character in group name
stack traceback:
        [C]: in function 'sign_define'
        .../packer/start/gitsigns.nvim/lua/gitsigns/signs/vimfn.lua:52: in function 'define_sign'
        .../packer/start/gitsigns.nvim/lua/gitsigns/signs/vimfn.lua:59: in function 'define_signs'
        .../packer/start/gitsigns.nvim/lua/gitsigns/signs/vimfn.lua:76: in function 'new'
        ...pack/packer/start/gitsigns.nvim/lua/gitsigns/manager.lua:443: in function 'setup'
        ...im/site/pack/packer/start/gitsigns.nvim/lua/gitsigns.lua:412: in function <...im/site/pack/packer/start/gitsigns.nvim/lua/gitsigns.lua:390>
stack traceback:
        [C]: in function 'error'
        ...e/pack/packer/start/gitsigns.nvim/lua/gitsigns/async.lua:67: in function 'step'
        ...e/pack/packer/start/gitsigns.nvim/lua/gitsigns/async.lua:83: in function 'execute'
        ...e/pack/packer/start/gitsigns.nvim/lua/gitsigns/async.lua:114: in function 'setup'
        /Users/damienbutt/.config/nvim/lua/user/gitsigns.lua:6: in main chunk
        [C]: in function 'require'
        /Users/damienbutt/.config/nvim/init.lua:11: in main chunk
Press ENTER or type command to continue

Also getting constant errors when trying to type etc in a file.

The healthcheck looks OK?

null-ls: require("null-ls.health").check()
========================================================================
  - OK: prettier: the command "prettier" is executable.
  - OK: black: the command "black" is executable.
  - OK: stylua: the command "stylua" is executable.

nvim: health#nvim#check
========================================================================
## Configuration
  - OK: no issues found

## Performance
  - OK: Build type: Release

## Remote Plugins
  - OK: Up to date

## terminal
  - INFO: key_backspace (kbs) terminfo entry: key_backspace=^H
  - INFO: key_dc (kdch1) terminfo entry: key_dc=\E[3~
  - INFO: $TERM_PROGRAM='iTerm.app'
  - INFO: $COLORTERM='truecolor'

nvim-lsp-installer: require("nvim-lsp-installer.health").check()
========================================================================
## nvim-lsp-installer report
  - OK: neovim version >= 0.7.0
  - OK: **Go**: `go version go1.19.2 darwin/amd64`
  - OK: **cargo**: `cargo 1.64.0 (387270bc7 2022-09-16)`
  - OK: **luarocks**: `/usr/local/bin/luarocks 3.9.1`
  - OK: **Ruby**: `ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [x86_64-darwin21]`
  - OK: **RubyGem**: `3.3.11`
  - OK: **Composer**: `Composer version 2.4.2 2022-09-14 16:11:15`
  - OK: **PHP**: `PHP 8.1.11 (cli) (built: Sep 29 2022 20:02:53) (NTS)`
  - OK: **npm**: `8.15.0`
  - OK: **node**: `v16.17.0`
  - OK: **python3**: `Python 3.10.7`
  - OK: **pip3**: `pip 22.2.2 from /usr/local/lib/python3.10/site-packages/pip (python 3.10)`
  - OK: **javac**: `javac 16.0.2`
  - OK: **java**: `java version "16.0.2" 2021-07-20`
  - OK: **julia**: `julia version 1.8.2`
  - OK: **wget**: `GNU Wget 1.21.3 built on darwin21.3.0.`
  - OK: **curl**: `curl 7.79.1 (x86_64-apple-darwin21.0) libcurl/7.79.1 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.11 nghttp2/1.45.1`
  - OK: **gzip**: `Apple gzip 353.100.22`
  - OK: **tar**: `bsdtar 3.5.1 - libarchive 3.5.1 zlib/1.2.11 liblzma/5.0.5 bz2lib/1.0.8 `
  - OK: **bash**: `GNU bash, version 5.2.2(1)-release (x86_64-apple-darwin21.6.0)`
  - OK: **sh**: `Ok`
  - OK: GitHub API rate limit. Used: 19. Remaining: 4981. Limit: 5000. Reset: Fri  7 Oct 03:14:22 2022.

nvim-treesitter: require("nvim-treesitter.health").check()
========================================================================
## Installation
  - OK: `tree-sitter` found 0.20.7 (parser generator, only needed for :TSInstallFromGrammar)
  - OK: `node` found v16.17.0 (only needed for :TSInstallFromGrammar)
  - OK: `git` executable found.
  - OK: `cc` executable found. Selected from { vim.NIL, "cc", "gcc", "clang", "cl", "zig" }
    Version: Apple clang version 14.0.0 (clang-1400.0.29.102)
  - OK: Neovim was compiled with tree-sitter runtime ABI version 14 (required >=13). Parsers must be compatible with runtime ABI.

## Parser/Features H L F I J
  - perl           βœ“ . βœ“ . . 
  - lua            βœ“ βœ“ βœ“ βœ“ βœ“ 
  - sparql         βœ“ βœ“ βœ“ βœ“ βœ“ 
  - fish           βœ“ βœ“ βœ“ βœ“ βœ“ 
  - gdscript       βœ“ βœ“ . βœ“ βœ“ 
  - php            βœ“ βœ“ βœ“ βœ“ βœ“ 
  - java           βœ“ βœ“ . βœ“ βœ“ 
  - query          βœ“ βœ“ βœ“ βœ“ βœ“ 
  - kotlin         βœ“ βœ“ βœ“ . βœ“ 
  - turtle         βœ“ βœ“ βœ“ βœ“ βœ“ 
  - julia          βœ“ βœ“ βœ“ βœ“ βœ“ 
  - css            βœ“ . βœ“ βœ“ βœ“ 
  - pug            βœ“ . . . βœ“ 
  - tiger          βœ“ βœ“ βœ“ βœ“ βœ“ 
  - beancount      βœ“ . βœ“ . . 
  - vue            βœ“ . βœ“ βœ“ βœ“ 
  - v              βœ“ βœ“ βœ“ βœ“ βœ“ 
  - proto          βœ“ . βœ“ . . 
  - jsonc          βœ“ βœ“ βœ“ βœ“ βœ“ 
  - m68k           βœ“ βœ“ βœ“ . βœ“ 
  - bibtex         βœ“ . βœ“ βœ“ . 
  - elm            βœ“ . . . βœ“ 
  - gleam          βœ“ βœ“ βœ“ βœ“ βœ“ 
  - yaml           βœ“ βœ“ βœ“ βœ“ βœ“ 
  - surface        βœ“ . βœ“ βœ“ βœ“ 
  - yang           βœ“ . βœ“ βœ“ . 
  - fortran        βœ“ . βœ“ βœ“ . 
  - eex            βœ“ . . . βœ“ 
  - ninja          βœ“ . βœ“ βœ“ . 
  - heex           βœ“ βœ“ βœ“ βœ“ βœ“ 
  - wgsl           βœ“ . βœ“ . . 
  - ocaml          βœ“ βœ“ βœ“ . βœ“ 
  - glimmer        βœ“ . . . . 
  - astro          βœ“ βœ“ βœ“ βœ“ βœ“ 
  - dart           βœ“ βœ“ . βœ“ βœ“ 
  - solidity       βœ“ . . . . 
  - ocaml_interfaceβœ“ βœ“ βœ“ . βœ“ 
  - rst            βœ“ βœ“ . . βœ“ 
  - elvish         βœ“ . . . βœ“ 
  - ocamllex       βœ“ . . . βœ“ 
  - cooklang       βœ“ . . . . 
  - org            . . . . . 
  - hocon          βœ“ . . . βœ“ 
  - c_sharp        βœ“ βœ“ βœ“ . βœ“ 
  - ql             βœ“ βœ“ . βœ“ βœ“ 
  - llvm           βœ“ . . . . 
  - markdown       βœ“ . βœ“ . βœ“ 
  - lalrpop        βœ“ βœ“ . . . 
  - todotxt        βœ“ . . . . 
  - vala           βœ“ . . . . 
  - scheme         βœ“ . βœ“ . βœ“ 
  - typescript     βœ“ βœ“ βœ“ βœ“ βœ“ 
  - make           βœ“ . . . βœ“ 
  - norg           . . . . . 
  - hack           βœ“ . . . . 
  - rasi           βœ“ βœ“ βœ“ βœ“ . 
  - scala          βœ“ . βœ“ . βœ“ 
  - foam           βœ“ βœ“ βœ“ βœ“ βœ“ 
  - prisma         βœ“ . . . . 
  - supercollider  βœ“ βœ“ βœ“ βœ“ βœ“ 
  - rego           βœ“ . . . βœ“ 
  - http           βœ“ . . . βœ“ 
  - slint          βœ“ . . βœ“ . 
  - hjson          βœ“ βœ“ βœ“ βœ“ βœ“ 
  - pioasm         βœ“ . . . βœ“ 
  - embedded_templateβœ“ . . . βœ“ 
  - json5          βœ“ . . . βœ“ 
  - help           x . . . . 
  - clojure        βœ“ βœ“ βœ“ . βœ“ 
  - elixir         βœ“ βœ“ βœ“ βœ“ βœ“ 
  - cmake          βœ“ . βœ“ . . 
  - commonlisp     βœ“ βœ“ βœ“ . . 
  - cpp            βœ“ βœ“ βœ“ βœ“ βœ“ 
  - zig            βœ“ . βœ“ βœ“ βœ“ 
  - javascript     βœ“ βœ“ βœ“ βœ“ βœ“ 
  - latex          βœ“ . βœ“ . βœ“ 
  - teal           βœ“ βœ“ βœ“ βœ“ βœ“ 
  - svelte         βœ“ . βœ“ βœ“ βœ“ 
  - bash           βœ“ βœ“ βœ“ . βœ“ 
  - devicetree     βœ“ βœ“ βœ“ βœ“ βœ“ 
  - html           βœ“ βœ“ βœ“ βœ“ βœ“ 
  - godot_resource βœ“ βœ“ βœ“ . . 
  - tsx            βœ“ βœ“ βœ“ βœ“ βœ“ 
  - glsl           βœ“ βœ“ βœ“ βœ“ βœ“ 
  - hcl            βœ“ . βœ“ βœ“ βœ“ 
  - dockerfile     βœ“ . . . βœ“ 
  - jsdoc          βœ“ . . . . 
  - scss           βœ“ . . βœ“ . 
  - dot            βœ“ . . . βœ“ 
  - regex          βœ“ . . . . 
  - phpdoc         βœ“ . . . . 
  - rust           βœ“ βœ“ βœ“ βœ“ βœ“ 
  - pascal         βœ“ βœ“ βœ“ βœ“ βœ“ 
  - fusion         βœ“ βœ“ βœ“ βœ“ . 
  - verilog        βœ“ βœ“ βœ“ . βœ“ 
  - r              βœ“ βœ“ . βœ“ βœ“ 
  - ledger         βœ“ . βœ“ βœ“ βœ“ 
  - fennel         βœ“ βœ“ . . βœ“ 
  - nix            βœ“ βœ“ βœ“ . βœ“ 
  - erlang         . . . . . 
  - python         βœ“ βœ“ βœ“ βœ“ βœ“ 
  - json           βœ“ βœ“ βœ“ βœ“ . 
  - vim            x βœ“ βœ“ . βœ“ 
  - cuda           βœ“ βœ“ βœ“ βœ“ βœ“ 
  - c              βœ“ βœ“ βœ“ βœ“ βœ“ 
  - gomod          βœ“ . . . βœ“ 
  - tlaplus        βœ“ βœ“ βœ“ . βœ“ 
  - gowork         βœ“ . . . βœ“ 
  - swift          βœ“ βœ“ . . . 
  - d              βœ“ . βœ“ βœ“ βœ“ 
  - graphql        βœ“ . . βœ“ βœ“ 
  - toml           βœ“ βœ“ βœ“ βœ“ βœ“ 
  - haskell        βœ“ . . . βœ“ 
  - ruby           βœ“ βœ“ βœ“ βœ“ βœ“ 
  - comment        βœ“ . . . . 
  - go             βœ“ βœ“ βœ“ βœ“ βœ“ 

  Legend: H[ighlight], L[ocals], F[olds], I[ndents], In[j]ections
         +) multiple parsers found, only one will be used
         x) errors found in the query, try to run :TSUpdate {lang}

## The following errors have been detected:
  - ERROR: help(highlights): ...im/0.8.0/share/nvim/runtime/lua/vim/treesitter/query.lua:219: query: invalid node type at position 1 for language help
    help(highlights) is concatenated from the following files:
    | [ERROR]:"/Users/damienbutt/.local/share/nvim/site/pack/packer/start/nvim-treesitter/queries/help/highlights.scm", failed to load: ...im/0.8.0/share/nvim/runtime/lua/vim/treesitter/query.lua:219: query: invalid node type at position 1 for language help
  - ERROR: vim(highlights): ...im/0.8.0/share/nvim/runtime/lua/vim/treesitter/query.lua:219: query: invalid node type at position 558 for language vim
    vim(highlights) is concatenated from the following files:
    | [ERROR]:"/Users/damienbutt/.local/share/nvim/site/pack/packer/start/nvim-treesitter/queries/vim/highlights.scm", failed to load: ...im/0.8.0/share/nvim/runtime/lua/vim/treesitter/query.lua:219: query: invalid node type at position 558 for language vim

provider: health#provider#check
========================================================================
## Clipboard (optional)
  - OK: Clipboard tool found: pbcopy

## Python 3 provider (optional)
  - INFO: pyenv: Path: /usr/local/Cellar/pyenv/2.3.4/libexec/pyenv
  - INFO: pyenv: Root: /Users/damienbutt/.pyenv
  - INFO: `g:python3_host_prog` is not set.  Searching for python3 in the environment.
  - WARNING: pyenv is not set up optimally.
    - ADVICE:
      - Create a virtualenv specifically for Nvim using pyenv, and set `g:python3_host_prog`.  This will avoid the need to install the pynvim module in each version/virtualenv.
  - INFO: Executable: /usr/local/bin/python3
  - INFO: Python version: 3.10.7
  - INFO: pynvim version: 0.4.3
  - OK: Latest pynvim is installed.

## Python virtualenv
  - OK: no $VIRTUAL_ENV

## Ruby provider (optional)
  - INFO: Ruby: ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [x86_64-darwin21]
  - WARNING: `neovim-ruby-host` not found.
    - ADVICE:
      - Run `gem install neovim` to ensure the neovim RubyGem is installed.
      - Run `gem environment` to ensure the gem bin directory is in $PATH.
      - If you are using rvm/rbenv/chruby, try "rehashing".
      - See :help |g:ruby_host_prog| for non-standard gem installations.
      - You may disable this provider (and warning) by adding `let g:loaded_ruby_provider = 0` to your init.vim

## Node.js provider (optional)
  - INFO: Node.js: v16.17.0
  - INFO: Nvim node.js host: /Users/damienbutt/.config/yarn/global//node_modules/neovim/bin/cli.js
  - OK: Latest "neovim" npm/yarn/pnpm package is installed: 4.10.1

## Perl provider (optional)
  - WARNING: "Neovim::Ext" cpan module is not installed
    - ADVICE:
      - See :help |provider-perl| for more information.
      - You may disable this provider (and warning) by adding `let g:loaded_perl_provider = 0` to your init.vim

telescope: require("telescope.health").check()
========================================================================
## Checking for required plugins
  - OK: plenary installed.
  - OK: nvim-treesitter installed.

## Checking external dependencies
  - OK: rg: found ripgrep 13.0.0
  - OK: fd: found fd 8.4.0

## ===== Installed extensions =====

vim.lsp: require("vim.lsp.health").check()
========================================================================
  - INFO: LSP log level : WARN
  - INFO: Log path: /Users/damienbutt/.local/state/nvim/lsp.log
  - INFO: Log size: 2 KB

vim.treesitter: require("vim.treesitter.health").check()
========================================================================
  - INFO: Runtime ABI version : 14
  - OK: Loaded parser for astro: ABI version 13
  - OK: Loaded parser for bash: ABI version 13
  - OK: Loaded parser for beancount: ABI version 13
  - OK: Loaded parser for bibtex: ABI version 13
  - OK: Loaded parser for clojure: ABI version 13
  - OK: Loaded parser for cmake: ABI version 13
  - OK: Loaded parser for comment: ABI version 13
  - OK: Loaded parser for commonlisp: ABI version 13
  - OK: Loaded parser for cooklang: ABI version 13
  - OK: Loaded parser for cpp: ABI version 13
  - OK: Loaded parser for css: ABI version 13
  - OK: Loaded parser for cuda: ABI version 13
  - OK: Loaded parser for c_sharp: ABI version 13
  - OK: Loaded parser for d: ABI version 14
  - OK: Loaded parser for dart: ABI version 13
  - OK: Loaded parser for devicetree: ABI version 14
  - OK: Loaded parser for dockerfile: ABI version 13
  - OK: Loaded parser for dot: ABI version 13
  - OK: Loaded parser for eex: ABI version 13
  - OK: Loaded parser for elixir: ABI version 13
  - OK: Loaded parser for elm: ABI version 13
  - OK: Loaded parser for elvish: ABI version 13
  - OK: Loaded parser for embedded_template: ABI version 13
  - OK: Loaded parser for erlang: ABI version 13
  - OK: Loaded parser for fennel: ABI version 13
  - OK: Loaded parser for fish: ABI version 13
  - OK: Loaded parser for foam: ABI version 13
  - OK: Loaded parser for fortran: ABI version 13
  - OK: Loaded parser for fusion: ABI version 13
  - OK: Loaded parser for gdscript: ABI version 13
  - OK: Loaded parser for gleam: ABI version 13
  - OK: Loaded parser for glimmer: ABI version 13
  - OK: Loaded parser for glsl: ABI version 14
  - OK: Loaded parser for go: ABI version 13
  - OK: Loaded parser for godot_resource: ABI version 14
  - OK: Loaded parser for gomod: ABI version 13
  - OK: Loaded parser for gowork: ABI version 13
  - OK: Loaded parser for graphql: ABI version 13
  - OK: Loaded parser for hack: ABI version 13
  - OK: Loaded parser for haskell: ABI version 13
  - OK: Loaded parser for hcl: ABI version 13
  - OK: Loaded parser for heex: ABI version 13
  - OK: Loaded parser for hjson: ABI version 13
  - OK: Loaded parser for hocon: ABI version 13
  - OK: Loaded parser for html: ABI version 13
  - OK: Loaded parser for http: ABI version 13
  - OK: Loaded parser for java: ABI version 13
  - OK: Loaded parser for javascript: ABI version 13
  - OK: Loaded parser for jsdoc: ABI version 13
  - OK: Loaded parser for json: ABI version 13
  - OK: Loaded parser for json5: ABI version 13
  - OK: Loaded parser for jsonc: ABI version 13
  - OK: Loaded parser for julia: ABI version 13
  - OK: Loaded parser for kotlin: ABI version 13
  - OK: Loaded parser for lalrpop: ABI version 13
  - OK: Loaded parser for latex: ABI version 13
  - OK: Loaded parser for ledger: ABI version 13
  - OK: Loaded parser for llvm: ABI version 13
  - OK: Loaded parser for m68k: ABI version 13
  - OK: Loaded parser for make: ABI version 13
  - OK: Loaded parser for markdown: ABI version 13
  - OK: Loaded parser for ninja: ABI version 13
  - OK: Loaded parser for nix: ABI version 13
  - OK: Loaded parser for norg: ABI version 13
  - OK: Loaded parser for ocaml: ABI version 13
  - OK: Loaded parser for ocamllex: ABI version 14
  - OK: Loaded parser for ocaml_interface: ABI version 13
  - OK: Loaded parser for org: ABI version 13
  - OK: Loaded parser for pascal: ABI version 13
  - OK: Loaded parser for perl: ABI version 13
  - OK: Loaded parser for php: ABI version 13
  - OK: Loaded parser for phpdoc: ABI version 14
  - OK: Loaded parser for pioasm: ABI version 13
  - OK: Loaded parser for prisma: ABI version 13
  - OK: Loaded parser for proto: ABI version 13
  - OK: Loaded parser for pug: ABI version 13
  - OK: Loaded parser for python: ABI version 13
  - OK: Loaded parser for ql: ABI version 13
  - OK: Loaded parser for query: ABI version 13
  - OK: Loaded parser for r: ABI version 13
  - OK: Loaded parser for rasi: ABI version 13
  - OK: Loaded parser for regex: ABI version 13
  - OK: Loaded parser for rego: ABI version 13
  - OK: Loaded parser for rst: ABI version 13
  - OK: Loaded parser for ruby: ABI version 13
  - OK: Loaded parser for rust: ABI version 13
  - OK: Loaded parser for scala: ABI version 13
  - OK: Loaded parser for scheme: ABI version 13
  - OK: Loaded parser for scss: ABI version 13
  - OK: Loaded parser for slint: ABI version 13
  - OK: Loaded parser for solidity: ABI version 13
  - OK: Loaded parser for sparql: ABI version 13
  - OK: Loaded parser for supercollider: ABI version 13
  - OK: Loaded parser for surface: ABI version 13
  - OK: Loaded parser for svelte: ABI version 13
  - OK: Loaded parser for swift: ABI version 13
  - OK: Loaded parser for teal: ABI version 14
  - OK: Loaded parser for tiger: ABI version 13
  - OK: Loaded parser for tlaplus: ABI version 13
  - OK: Loaded parser for todotxt: ABI version 13
  - OK: Loaded parser for toml: ABI version 13
  - OK: Loaded parser for tsx: ABI version 13
  - OK: Loaded parser for turtle: ABI version 13
  - OK: Loaded parser for typescript: ABI version 13
  - OK: Loaded parser for v: ABI version 13
  - OK: Loaded parser for vala: ABI version 13
  - OK: Loaded parser for verilog: ABI version 13
  - OK: Loaded parser for vue: ABI version 13
  - OK: Loaded parser for wgsl: ABI version 13
  - OK: Loaded parser for yaml: ABI version 13
  - OK: Loaded parser for yang: ABI version 13
  - OK: Loaded parser for zig: ABI version 13
  - OK: Loaded parser for c: ABI version 13
  - OK: Loaded parser for help: ABI version 14
  - OK: Loaded parser for lua: ABI version 13
  - OK: Loaded parser for vim: ABI version 14

which_key: health#which_key#check
========================================================================
## WhichKey: checking conflicting keymaps

Is there something I might be missing?

Thanks,

D

Monmcgt commented 1 year ago

Go to .config/nvim/lua/user/plugins.lua and remove git commit of the plugin that is causing the problem.

For example gitsigns:

use({ "lewis6991/gitsigns.nvim", commit = "c18e016864c92ecf9775abea1baaa161c28082c3" })

Change it to:

use({ "lewis6991/gitsigns.nvim" })

Or comment out

use({ "lewis6991/gitsigns.nvim"--[[, commit = "c18e016864c92ecf9775abea1baaa161c28082c3"]] })
damienbutt commented 1 year ago

Hi,

Thanks.

I have tried that but am just getting further errors.

 Error detected while processing BufReadPost Autocommands for "*":
Error executing lua callback: ...ocal/Cellar/neovim/0.8.0/share/nvim/runtime/filetype.lua:22: Error executing lua: ...ocal/Cellar/neovim/0.8.0/share/nvim/r
untime/filetype.lua:23: Vim(append):Error executing lua callback: .../start/nvim-treesitter/lua/nvim-treesitter/highlight.lua:14: attempt to index local 'h
lmap' (a nil value)
stack traceback:
        .../start/nvim-treesitter/lua/nvim-treesitter/highlight.lua:14: in main chunk
        [C]: in function 'resolve_module'
        ...er/start/nvim-treesitter/lua/nvim-treesitter/configs.lua:473: in function 'detach_module'
        ...er/start/nvim-treesitter/lua/nvim-treesitter/configs.lua:487: in function 'reattach_module'
        ...er/start/nvim-treesitter/lua/nvim-treesitter/configs.lua:106: in function <...er/start/nvim-treesitter/lua/nvim-treesitter/configs.lua:105>
        [C]: in function 'nvim_cmd'
        ...ocal/Cellar/neovim/0.8.0/share/nvim/runtime/filetype.lua:23: in function <...ocal/Cellar/neovim/0.8.0/share/nvim/runtime/filetype.lua:22>
        [C]: in function 'nvim_buf_call'
        ...ocal/Cellar/neovim/0.8.0/share/nvim/runtime/filetype.lua:22: in function <...ocal/Cellar/neovim/0.8.0/share/nvim/runtime/filetype.lua:11>
stack traceback:
        [C]: in function 'nvim_cmd'
        ...ocal/Cellar/neovim/0.8.0/share/nvim/runtime/filetype.lua:23: in function <...ocal/Cellar/neovim/0.8.0/share/nvim/runtime/filetype.lua:22>
        [C]: in function 'nvim_buf_call'
        ...ocal/Cellar/neovim/0.8.0/share/nvim/runtime/filetype.lua:22: in function <...ocal/Cellar/neovim/0.8.0/share/nvim/runtime/filetype.lua:11>
stack traceback:
        [C]: in function 'nvim_buf_call'
        ...ocal/Cellar/neovim/0.8.0/share/nvim/runtime/filetype.lua:22: in function <...ocal/Cellar/neovim/0.8.0/share/nvim/runtime/filetype.lua:11
Monmcgt commented 1 year ago

As you can see, now it's treesitter. Do that for tthe treesitter too. For me gitcommits, treesitter, and some cmp/lsp I can't remember are causing the error.

gnmearacaun commented 1 year ago

A few commits were made that remedy the errors (gitsigns was commented out temporarily and treesitter was pinned to a newer commit). If you're still having issues delete nvim-treesitter from .local/share/lunarvim/site/pack/packer/start/ (in Linux at least) and run PackerSync to reinstall. Close nvim and re-open for treesitter to install it's extensions.

gnmearacaun commented 1 year ago

Hi, this is fixed in master by #241