Code Monkey home page Code Monkey logo

vim-better-comments's People

Contributors

jbgutierrez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

vim-better-comments's Issues

Create Language Aliases

In such cases, you can overcome the mismatch providing a dictionary of aliases:

let g:bettercomments_language_aliases = { 'javascript': 'js' }

I am new to vim and trying to figure out how to add this or where I need to add it. Could you elaborate a bit more on what I need to do to get this working?

Thanks!

Breaks syntax highlighting for some languages

After installing this plugin, I noticed it disables syntax highlighting in certain filetypes. I've only noticed this with PHP so far but I assume there could be other languages that are also impacted.

Setting :set syntax=on with a PHP file open, works so it is not preventing it altogether.

If you want to use this plugin without needing to re-enable the highlighting every time, you can add the following to the .vimrc file, as a workaround:

"autocmd BufEnter *.php :set syntax=PHP.

When I uninstall this plugin and remove the above workaround, syntax highlighting works as expected.

No highliting for C

First of all, THANKS!
I'm coming from VSCode, where I used this plugin and it's awesome to see this plugin in Vim as well!

But I cannot find how to make this work with the C language... I tried to look through the readme but I cannot figure it out LOL

I'm studying college now and we use C all the time, so this would be an awesome thing to have.

This is what `test.js` looks like:

image

This is what `main.c` looks like:image

Using in the Python language

Hello, I think this question may sound strange since I am new to vim, but I was able to customize this system that I used in sublime text and vs code (marks, colors).

What files do I need to change if I want to be able to use and customize in Python?

Can't get this to work

I've installed better comments like this in my init.vim (using neovim):

Plug 'jbgutierrez/vim-better-comments'

but if I run :hi the better-comments highlighting is not listed.

The same applies if I try to set the colors in init:

highlight TodoBetterComments cterm=reverse ctermfg=214 ctermbg=235 gui=reverse guifg=#fabd2f guibg=#282828

Is there anything I'm doing wrong?

Wrong highlighting

Hi! As you asked me I'm writing this here.
Terminal: urxvt
Vim version: 8.1.26 (just updated)
Colorscheme: Gruvbox Dark
Example code:
`/**

  • Test method
    • Important info is highlighted
  • ! Deprecated method, do not use
  • ? Should this method be exposed through API?
  • TODO: refractor this method to conform to API
  • @param param The parameter for this method
    */

#include <stdio.h>

int main(int argc, char *argv[]){
if(argc != 2){
printf("Blahblahblah...");
}
return 0;
}
`
Screenshot: Here

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.