Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(util): adjust to vim's Patch 9.1.327 #5122

Merged

Conversation

zhixiao-zhang
Copy link
Contributor

Vim supports $XDG_CONFIG_HOME as an optional source in Patch 9.1.0327, thus $XDG_CONFIG_HOME/vim/ will be one of the possible paths of vimrc. Therefore, we need to include it as one of the coc configuration paths. Refer to the patch, $XDG_CONFIG_HOME will be used as the config path if and only if no other initialization file is found in $HOME or $HOME/.vim. Consequently, we should first check the $HOME/.vim, and the last and default path will be $HOME/.config/vim.

Copy link

codecov bot commented Aug 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.40%. Comparing base (98fa66a) to head (d8553b7).
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5122      +/-   ##
==========================================
- Coverage   98.41%   98.40%   -0.01%     
==========================================
  Files         273      273              
  Lines       26123    26123              
  Branches     5396     5396              
==========================================
- Hits        25708    25706       -2     
- Misses        254      257       +3     
+ Partials      161      160       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@fannheyward fannheyward merged commit 37f98a1 into neoclide:master Aug 26, 2024
4 checks passed
fannheyward added a commit that referenced this pull request Sep 2, 2024
9c25f2f fix(typings): getDocument return type. (#5132)
d4ff928 feat(language-client): modify log time format (#5130)
53e21a9 fix(snippet): deviation in snippet select in the first column (#5104)
0e6a8c7 feat(codeLens): add codeLens.display (#5129)
704295e fix(handler): correct current winid (#5128)
aabfc23 fix: ignore failed config file reads (#5118)
56ea360 feat: expose more properties quick list (#5114)
37f98a1 feat(util): adjust to vim's Patch 9.1.327 (#5122)
80e9f1b chore(package): upgrade micromatch (#5127)
98fa66a chore(packages): lock ESLint versions for now (#5108)
bf3d1f6 Add `coc.preferences.formatterExtension` configuration (#5102)
38697bc chore(handle): typo toggle inlayHint (#5105)
@fannheyward
Copy link
Member

@all-contributors please add @zhixiao-zhang for code.

Copy link
Contributor

@fannheyward

I've put up a pull request to add @zhixiao-zhang! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants