Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Colorizer not working anymore #385

Open
tzurita opened this issue Aug 23, 2022 · 1 comment
Open

Colorizer not working anymore #385

tzurita opened this issue Aug 23, 2022 · 1 comment
Labels
scope: bug Something isn't working

Comments

@tzurita
Copy link

tzurita commented Aug 23, 2022

Current Behavior:

Colorizer used to work when opening files. no longer loading and, according to norcalli /
nvim-colorizer.lua, commands such as |:ColorizerAttachToBuffer|
are not found.

Expected Behavior:

Clean install so should work.

Steps To Reproduce:

  1. Install Doom Nvim
  2. Open any file and attempt to use colorizer

Logs

n/a

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=\177
  • INFO: key_dc (kdch1) terminfo entry: key_dc=\E[3~

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 linux/amd64
  • WARNING: cargo: not available
  • WARNING: luarocks: not available
  • OK: Ruby: ruby 3.0.4p208 (2022-04-12 revision 3fa771dded) [x86_64-linux]
  • OK: RubyGem: 3.3.19
  • WARNING: Composer: not available
  • WARNING: PHP: not available
  • OK: npm: 8.18.0
  • OK: node: v18.7.0
  • OK: python3: Python 3.10.6
  • WARNING: pip3: not available
  • WARNING: javac: not available
  • WARNING: java: not available
  • WARNING: julia: not available
  • OK: wget: GNU Wget 1.21.3 built on linux-gnu.
  • OK: curl: curl 7.84.0 (x86_64-pc-linux-gnu) libcurl/7.84.0 OpenSSL/1.1.1q zlib/1.2.12 brotli/1.0.9 zstd/1.5.2 libidn2/2.3.3 libpsl/0.21.1 (+libidn2/2.3.0) libssh2/1.10.0 nghttp2/1.48.0
  • OK: gzip: gzip 1.12
  • OK: tar: tar (GNU tar) 1.34
  • OK: bash: GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)
  • OK: sh: Ok
  • OK: GitHub API rate limit. Used: 0. Remaining: 60. Limit: 60. Reset: Tue 23 Aug 2022 07:22:30 AM EDT.

nvim-treesitter: require("nvim-treesitter.health").check()

Installation

  • OK: tree-sitter found 0.20.6 (parser generator, only needed for :TSInstallFromGrammar)
  • OK: node found v18.7.0 (only needed for :TSInstallFromGrammar)
  • OK: git executable found.
  • OK: cc executable found. Selected from { vim.NIL, "cc", "gcc", "clang", "cl", "zig" }
    Version: cc (GCC) 12.2.0
  • 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

  • css ✓ . ✓ ✓ ✓
  • lua ✓ ✓ ✓ ✓ ✓

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}

provider: health#provider#check

Clipboard (optional)

  • OK: Clipboard tool found: xclip

Python 3 provider (optional)

  • WARNING: No Python executable found that can import neovim. Using the first available executable for diagnostics.
  • WARNING: Could not load Python 3:
    /usr/bin/python3 does not have the "neovim" module.
    /usr/bin/python3.10 does not have the "neovim" module.
    python3.9 not found in search path or not executable.
    python3.8 not found in search path or not executable.
    python3.7 not found in search path or not executable.
    /usr/bin/python does not have the "neovim" module.
    • ADVICE:
      • See :help |provider-python| for more information.
      • You may disable this provider (and warning) by adding let g:loaded_python3_provider = 0 to your init.vim
  • INFO: Executable: Not found

Python virtualenv

  • OK: no $VIRTUAL_ENV

Ruby provider (optional)

  • INFO: Ruby: ruby 3.0.4p208 (2022-04-12 revision 3fa771dded) [x86_64-linux]
  • 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: v18.7.0
  • WARNING: Missing "neovim" npm (or yarn) package.
    • ADVICE:
      • Run in shell: npm install -g neovim
      • Run in shell (if you use yarn): yarn global add neovim
      • You may disable this provider (and warning) by adding let g:loaded_node_provider = 0 to your init.vim

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: /home/zuritat/.cache/nvim/lsp.log
  • INFO: Log size: 2 KB

vim.treesitter: require("vim.treesitter.health").check()

  • INFO: Runtime ABI version : 14
  • OK: Loaded parser for css: ABI version 13
  • OK: Loaded parser for lua: ABI version 13

which_key: health#which_key#check

WhichKey: checking conflicting keymaps

  • WARNING: conflicting keymap exists for mode "n", lhs: "gc"
  • INFO: rhs: <Cmd>lua require("Comment.api").call("toggle_linewise_op")<CR>g@
Doom Report Output

E5107: Error loading lua [string ":lua"]:1: unexpected symbol near ''

@tzurita tzurita added the scope: bug Something isn't working label Aug 23, 2022
@tzurita
Copy link
Author

tzurita commented Aug 25, 2022

Ok, I find that if i open the file directly from command line it doesn't work but if i open vim and once doom-nvim is open load the file it then works.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
scope: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant