-
-
Notifications
You must be signed in to change notification settings - Fork 164
Closed
Labels
invalidThis doesn't seem rightThis doesn't seem rightquestionQuestion related to integration and other stuffQuestion related to integration and other stuff
Description
I am following the Neovim from Scratch
tutorial but all features don't work.
My specs:
-
Mac M1 (Monterey: 12.1)
-
iterm2
-
Neovim info:
NVIM v0.6.1 Build type: Release LuaJIT 2.1.0-beta3 Compiled by [email protected] Features: +acl +iconv +tui See ":help feature-compile" system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: "/opt/homebrew/Cellar/neovim/0.6.1/share/nvim"
-
My setup:
-- comment.lua local status_ok, comment = pcall(require, "Comment") if not status_ok then vim.notify("Comment not found!") return end comment.setup() -- plugins.lua -- ...other stuffs use "numToStr/Comment.nvim" -- ... -- init.lua require "path.to.plugins" require "path.to.comment"
I also try the instruction from the
README.md
of this repouse { 'numToStr/Comment.nvim', config = function() require('Comment').setup() end }
-
Issue: using the
gcc
and/or other actions doesn't work at all.
Ex: after typing thegcc
the cursor converted to underline and no commenting out
Screen.Recording.2022-02-08.at.12.09.29.PM.mov
- What i did:
- Try to set
mapping.basic
to true (at thesetup
function call) - Try different languages:
lua
,html
,css
,js
,jsx
,ts
=> all doesn't work - Try 2 ways of configuration (mentioned above)
- The only way that works:
- mimic the mapping with neovim command line
:lua require("Comment.api").call("toggle_current_linewise_op")
- then type
enter
to confirm the command - then
g@$
- Try to set
Metadata
Metadata
Assignees
Labels
invalidThis doesn't seem rightThis doesn't seem rightquestionQuestion related to integration and other stuffQuestion related to integration and other stuff