Daniel Kongsgaard

Results 41 comments of Daniel Kongsgaard

I have run into a similar issue in longer python files when I scroll up into a method in a longer class. I think the cause is the upstream tree-sitter...

> Thank you for taking the initiative, but this is touching a controversial aspect (tree-sitter configuration/options) that we don't have a clear general design for; as the linked issues show,...

> > I can do that. Would you prefer me to just rewrite the text in the pull request (edit my above description)? > > Yes please. I have rewritten...

> Here's my issue with this PR: the use case is extremely narrow (one specific plugin calling one specific API function, and even only in very special circumstances). This does...

> I can't tell why this really happens, but I believe this has something to do with #158. What I found so far is neodev or lua_ls behaves differently in...

Adding a `.luarc.json` in `~/.config/nvim` with ```json { "$schema": "https://raw.githubusercontent.com/sumneko/vscode-lua/master/setting/schema.json", "runtime.version": "LuaJIT" } ``` fixed my issue with newer commits. I will leave the issue open for now, in case...

The [queries for C](https://github.com/nvim-treesitter/nvim-treesitter-context/blob/master/queries/c/context.scm) (and thus C++ since it inherits the C queries and adds a few more) don't seem to contain anything catching `else if` or `else`, but this...

Note: If you want to always include `{` if you ever put it on the next line instead of the end of the current line, then you need slightly more...

> Hi [Danielkonge](https://github.com/Danielkonge), I am wondering if you will pull your new context.scm code to pull request ? Frankly speaking I am not that familiar with the syntax of scm...

> Hi [Danielkonge](https://github.com/Danielkonge), I personally perfer the "Previous queries" in your comment, i.e., NOT to always include `{`. Maybe we can even have an option to turn it on/off to...