junegunn / junegunn/fzf.vim

FzfBtags cannot list some tags in some case

Open
#862 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vim Script
Stars
10.3k
Forks
608
Avg merge
5d 8h
Merged PRs (30d)
2

Description

- Category
- [ ] Question
- [x] Bug
- [ ] Suggestion
- OS
- [x] Linux
- [x] macOS
- [ ] Windows
- [ ] Etc.
- Vim
- [x] Vim
- [ ] Neovim

here is a C++ source file

```
#include

static std::string jstr = R"(
{
"name": "test",
"age": 18,
"params": "{
\"hobby\":\"basketball\"
}"
})";

int main()
{
std::cout << jstr << std::endl;
return 0;
}
```

`FzfBtags` shows `No tags found`. However, when I remove `\` in this line

```
\"hobby\":\"basketball\"
```
then, `FzfBtags` show correctly.

So, looks `\` in C++ `R"()"` makes `FzfBtags` not work

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.