Comments (3)
I suspect this is because of gf
relying on syntax
.
Edit: I also can't access your reproduce files. The rails
folder is inaccessible
Please add
highlight = {
enable = true,
-- Setting this to true will run `:h syntax` and tree-sitter at the same time.
-- Set this to `true` if you depend on 'syntax' being enabled (like for indentation).
-- Using this option may slow down your editor, and you may see some duplicate highlights.
-- Instead of true it can also be a list of languages
additional_vim_regex_highlighting = true,
},
Ending note: Please don't just download/install the repo through a plugin, please also read README.md
if possible
from nvim-treesitter.
May I ask, where can I find out more information on this? I had checked the help docs for the gf command, but it doesn't mention syntax at all.
I just skimmed through rails.vim
in vim-rails
, and see a syntax file, and a gf keymap that seems to be calling a script inside rails.vim. So I suspect that's the cause
from nvim-treesitter.
Thank you for your quick response!
I can confirm - that does indeed fix the issue 🎉
I suspect this is because of gf relying on syntax.
May I ask, where can I find out more information on this? I had checked the help docs for the gf
command, but it doesn't mention syntax
at all.
I think given that information (that gf
relies on syntax
), the documentation in the README would have made more sense as to why I had this issue.
I'd love to be able to dig into that more, if you happen to know offhand where to find the information.
(If not, that's okay, too).
Please don't just download/install the repo through a plugin, please also read README.md if possible
I completely understand and appreciate your patience. For context - if I remember correctly - I had used this section as a reference for my initial setup of treesitter.
Thank you again for your help!
from nvim-treesitter.
Related Issues (20)
- Error during "tree-sitter generate" HOT 2
- Bugs Happend When Encounter Math Equations in Markdown or Latex. HOT 1
- No highlighting for svelte HOT 2
- Treesitter not showing italics and bold in markdown files HOT 2
- (latex) Highlight even multiple `&` as a delimiter
- Add VHDL support HOT 1
- Help file tags are disappearing on MacOS neovim with treesitter HOT 3
- SIGSEV error during parsing html HOT 2
- `:TOhtml` does not preserve semantic highlighting HOT 1
- ECMAScript: remove several `@variable.builtins`
- Suggested modification to current roadmap
- vimwiki parser issue HOT 11
- Unable to enable indent only for specific languages HOT 3
- Impossible pattern in highlighter.win for tex files HOT 1
- Doxygen syntax - embedded parameters like `\p len` aren't highlighted HOT 1
- HTML file causes neovim segv HOT 6
- Links and images are underlined with dashes in markdown HOT 22
- latest update to vimdoc error HOT 6
- MyST directives with colon fence notation HOT 2
- [Rust] Ability to fold scopes explicitely defined by curly braces
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nvim-treesitter.