Skip to content

Conflict with vim.filetype.get_option in Neovim #78

Description

@tunaflsh

Neovim comments (gc{motion}, gcc, etc.) uses information from vim.filetype.get_option(lang, 'commentstring'). And this plugin, somehow, breaks it.

Steps to reproduce

nvim file.sh
itext<Esc>
gcc

As expected you will get in the "file.sh" buffer:

# text

Split to "file.lua":

:split file.lua<Enter>
itext<Esc>
gcc

Now you would expect in "file.lua" to get -- text, but you get:

# text

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions