UncleBill
UncleBill
Dear @yyx990803 , could you check this out?
WIP,请先别合并。
@lilydjwg #### 请问为什么要`ClearMatches()`? https://github.com/lilydjwg/colorizer/commit/e95584933fd5af0a312af1d4419dbce6e2762a94 and [master#L283](https://github.com/lilydjwg/colorizer/blob/master/autoload/colorizer.vim#L283) 我刚提交的代码选择了跳过`折叠`,可视范围内包含`折叠`,移动光标也不会卡。 但打开含有颜色的`折叠`,已高亮的颜色就不存在了。我发现是`ClearMatches()`把原先的“标记”给清空了。我对`colorizer`的代码细节不完全清楚,所以想问问`ClearMatches()`的目的是什么?能否在`colorizer#ColorHighlight`函数中将其删掉?
> 历时太久,很多细节我也不记得了。我有空看看你的修改。 好的,我觉得可以将其删掉。
> 可惜没有一个 ViewChanged 事件。 嗯,或者一个`ScrollMoved`。
@lilydjwg ,Hi 依云,今天浏览vim的doc,发现有个`autocmd`:`Syntax`,突然想到似乎可以用在colorizer里: ``` diff diff --git a/autoload/colorizer.vim b/autoload/colorizer.vim index 82bd3de..a974292 100644 --- a/autoload/colorizer.vim +++ b/autoload/colorizer.vim @@ -308,9 +308,7 @@ function! colorizer#ColorHighlight(update, ...) "{{{1 autocmd CursorMoved,CursorMovedI * silent call s:CursorMoved()...
https://github.com/nicejade/docker-vue-node-nginx-mongodb-redis/blob/121db61b15c997da212143d9cc4a21f281bc51bd/package.json#L7-L18 No any `debug` config here. You can find ways to debug with vscode at its docs page: https://code.visualstudio.com/docs/editor/debugging
I like this option. And I already use @evergreen-lee-campbell 's repository in my `package.json`.
>I would rather extend implementation of rewrite method to handle asset URLs in inline style. In fact, `Node.attrs` doesn't contain `style` attribute, or should we modify the compiler? ![image](https://user-images.githubusercontent.com/1141198/47660859-e10ada00-dbd2-11e8-96a9-ef66a0b1d769.png) >If...
Yes, `staticStyle` will be an object in compiled render function. I tested in `vue-loader`'s example, it works just fine. Here is my test steps: 1. ~~Hard code default transformOption, add...