Closed al77ex1 closed 1 year ago
Hi. Could you give more information? Filetype? I cannot reproduce this.
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.
The problem was related to nvim version.
When I press
gcc
I have warning and code string not commented.This problem appeared in version 3.5