doom-neovim/doom-nvim

[BUG] after deinstalling, dashboard still loads (after errors)

fwolfst opened this issue · 2 comments

Current Behavior:

(Solution in comment, its a documentation issue).

Installed neovim and doom-nvim (on MacOS), then removed the .config/nvim folder completely.

Now, wenn I start nvim I will see this error messages, after which I am thrown into the dashboard. How can I fully deinstall the stuff?

Error detected while processing function <SNR>24_loaded_dashboard[3]..dashboard#instance[73]..<SNR>28_print_plugins_message:
line   18:
E5108: Error executing lua vim/shared.lua:0: Expected table, got nil
stack traceback:
        [C]: in function 'assert'
        vim/shared.lua: in function 'tbl_keys'
        [string "luaeval()"]:1: in main chunk
Press ENTER or type command to continue
Error detected while processing function <SNR>24_loaded_dashboard[3]..dashboard#instance[73]..dashboard#utils#draw_center:
line    1:
E896: Argument of map() must be a List, Dictionary or Blob
Press ENTER or type command to continue
Error detected while processing function <SNR>24_loaded_dashboard[3]..dashboard#instance[73]..dashboard#utils#draw_center:
line    1:
E712: Argument of max() must be a List or Dictionary
Press ENTER or type command to continue

Expected Behavior:

I expect a blank neovim experience after removing everything in .config/nvim .

Logs

Check Health Output
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.6.0
  - WARNING: **Composer**: not available
  - WARNING: **PHP**: not available
  - WARNING: **julia**: not available
  - OK: **tar**: `bsdtar 3.5.1 - libarchive 3.5.1 zlib/1.2.11 liblzma/5.0.5 bz2lib/1.0.8 `
  - OK: **gzip**: `Apple gzip 353.100.22`
  - OK: **curl**: `curl 7.79.1 (x86_64-apple-darwin21.0) libcurl/7.79.1 (SecureTransport) LibreSSL/3.3.5 zlib/1.2.11 nghttp2/1.45.1`
  - OK: **bash**: `GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin21)`
  - OK: **sh**: `Ok`
  - OK: **python3**: `Python 3.9.13`
  - OK: **wget**: `GNU Wget 1.21.3 built on darwin21.3.0.`
  - OK: **node**: `v16.1.0`
  - OK: **Ruby**: `ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [x86_64-darwin21]`
  - WARNING: **Go**: not available
  - OK: **java**: `Ok`
  - OK: **RubyGem**: `3.3.3`
  - OK: **pip3**: `pip 22.1 from /usr/local/lib/python3.9/site-packages/pip (python 3.9)`
  - OK: **javac**: `javac 17.0.2`
  - OK: **npm**: `7.11.2`

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

## Python 3 provider (optional)
  - INFO: `g:python3_host_prog` is not set.  Searching for python3 in the environment.
  - INFO: Multiple python3 executables found.  Set `g:python3_host_prog` to avoid surprises.
  - INFO: Executable: /usr/local/bin/python3
  - INFO: Other python executable: /usr/bin/python3
  - INFO: Python version: 3.9.13
  - 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.0p0 (2021-12-25 revision fb4df44d16) [x86_64-darwin21]
  - INFO: Host: /Users/XXX/.asdf/shims/neovim-ruby-host
  - OK: Latest "neovim" gem is installed: 0.9.0

## Node.js provider (optional)
  - INFO: Node.js: v16.1.0
  - INFO: Nvim node.js host: /Users/XXX/.asdf/installs/nodejs/16.1.0/.npm/lib/node_modules/neovim/bin/cli.js
  - OK: Latest "neovim" npm/yarn 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

vim.lsp: require("vim.lsp.health").check()
========================================================================
  - INFO: LSP log level : WARN
  - INFO: Log path: /Users/XXX/.cache/nvim/lsp.log
  - INFO: Log size: 1 KB

vim.treesitter: require("vim.treesitter.health").check()
========================================================================
  - INFO: Runtime ABI version : 14


Doom Report Output (DoomReport command is gone)

Anything else:

:(

nvim -u NONE works

Solution: removing .local/share/nvim and .cache/nvim helped.
This should be mentioned in the documentation, thus leaving ticket open.

thank you for the feedback this has been addressed in main.