Torsten Schmits

Results 110 comments of Torsten Schmits

I'm not sure that it's feasible to implement this, since comments are allowed to break indentation: ```haskell f = do g -- foo pure 1 ``` so in order to...

ok so in the case without `do` the function is entirely contained in the range `a = b`, so tree-sitter is conservative and uses the smallest tree that works, leaving...

@patrickt @maxbrunsfeld how do we do this?

glad you're interested! the motivation for this was that we have a lot of large json structures at work with deep nesting from which we only need to extract few...

my solution: ```vim let g:undo_skip_max_lines = 1000 function! Undo(it) abort "{{{ function! Lines() abort "{{{ return nvim_buf_get_lines(0, 0, g:undo_skip_max_lines, v:false) endfunction "}}} if nvim_buf_line_count(0) < g:undo_skip_max_lines && a:it < 10...

hey, in case you didn't solve this by yourself, I posted a fix for this in an older issue in April: tek@9d2131f

I think he's too busy for any side projects at the time, almost no activity at all in months. For the time being, just use my repo.

@luke-gru ``` class MyClass defm foo end end foo = new MyClass() ``` Then doing `runtime autoload/foo.vim` would be enough. The output file: ``` VimL function! s:MyClassConstructor() let myClassObj =...