ecosse3 / nvim

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Plugin comment.nvim not working

al77ex1 opened this issue · comments

commented

When I press gcc I have warning and code string not commented.

image

This problem appeared in version 3.5

Hi. Could you give more information? Filetype? I cannot reproduce this.

commented

This problem occurs with files of type .js

For example in this simple component code:

import { createGlobalStyle } from 'styled-components';
import './index.css';

const GlobalStyle = createGlobalStyle`
  html,
  body {
    height: 100vh;
    width: 100%;
    line-height: 1.5;
  }
  .common-wrapper {
    //height: 100vh;
  }
`;

export default GlobalStyle;

But for files like .css everything works fine

I tried reinstalling all plugins but the problem doesn't go away.

commented

The problem was related to nvim version.