Li Peiya

Results 12 comments of Li Peiya

editor.createFoldingRangeFromSelection editor.removeManualFoldingRanges vscode new command

试一下这个设置 ` { "key": "k", "command": "cursorUp", "when": "editorTextFocus && amVim.mode != 'INSERT' && amVim.mode != 'VISUAL'" }, { "key": "j", "command": "cursorDown", "when": "editorTextFocus && amVim.mode != 'INSERT' &&...

If typescript is not installed in the project, an error will be reported When using lspinstall to install volar before, no error will be reported

在alacritty中也会出现类似错误,感觉他们有一个共同点,neovide和alacritty都是用rust编写的 但是在wezterm(rust编写的)中却没有类似错误

#792 有人处理这个问题了,但是官方没有合并呢

Simply support webpack's @path mapping by replacing the @ character in the path with the src directory in the current directory through regular matching

> @kola-web You didn't follow their convention of using 2-spaces for 1 indentation. You used tab-char everywhere in this PR. I'm really sorry. I found that this PR had big...

Here's my modified code to achieve the @ -> src effect. ```lua local cmp = require 'cmp' local NAME_REGEX = '\\%([^/\\\\:\\*?\'"`\\|]\\)' -- edit one local PATH_REGEX = vim.regex(([[\%(\%(/PAT*[^(@/|/)\\\\:\\*?\'"`\\| .~]\)\|\%(/\.\.\)\)*/\zePAT*$]]):gsub('PAT', NAME_REGEX))...

@musjj have created a pr I've forked one myself, so if you're in a hurry, you can use my forked version first. [link](https://github.com/kola-web/cmp-path.git)

By the way, if you need to use this kind of amplification in vue, you need to add "allowJs": true