Phelipe Teles

Results 12 comments of Phelipe Teles

This seems to do the job: ```vim let s:DEFAULT_LS_FLAGS = "--directory --indicator-style=slash" function! Sort(flag) if &filetype != "dirvish" || !executable("ls") return endif let dir = expand("%:h") let cmd = printf("ls...

It looks like this issue has been resolved? I couldn't reproduce them. Fragment is highlighted normally in the OP's website: ![image](https://user-images.githubusercontent.com/39670535/186428434-72bdc0b5-e85b-4d0b-a4fd-a366206ed806.png) The second reported issue doesn't seem to occur using...

Sorry, this only happens with .tsx files...

The `autoFocus` prop in React does not translate to `autofocus` HTML attribute, it's polyfilled to focus the element when the component mounts, [see this comment](https://github.com/facebook/react/issues/11851#issuecomment-351672131). The example did not work...

Got it. To clarify I exported it to stop the @typescript-eslint/no-unused-vars rule from complaining, what should I do instead? Should I just configure the rule to not apply for this...

Yes, suppressing the error is what I'm doing now, with `// eslint-disable-next-line @typescript-eslint/no-unused-vars`, but I was wondering if there was a better way to handle this. I opened the issue...

Just created a patch to try to address this: https://github.com/neovim/neovim/pull/25196. > Instead it should check whether the passed scope is local and the option a global-local, and only then not...

As long as the file uses Treesitter JSON parser, it should work regardless of the filetype. For example, if you want to support `jsonc` (JSON with comments) file types, paste...

Thanks @joshzcold, that's a good recommendation. YAML is much more complicated and I think the current implementation is hacky enough for JSON, so I'm not 100% comfortable extending support to...

I'd imagine that not as easily, as YAML allows for much more flexibility and types. I'll try to see if I can come up with a satisfying solution.