Skip to content

Commit

Permalink
- vim - Allow installing vim-plugin to any directory, instead of hard…
Browse files Browse the repository at this point in the history
…coded to ~/.vim/.
  • Loading branch information
kaizhu256 committed Mar 10, 2024
1 parent 43463d8 commit 9d5b92d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ import moduleFs from "fs";
"type": "git",
"url": "https://github.com/jslint-org/jslint.git"
},
"version": "2024.2.1"
"version": "2024.3.1"
}, undefined, 4)
}
].map(async function ({
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
- jslint - add new warning requiring paren around plus-separated concatenations.
- jslint - try to improve parser to be able to parse jquery.js without stopping.

# v2024.2.1-beta
# v2024.3.1-beta
- vim - Allow installing vim-plugin to any directory, instead of hardcoded to ~/.vim/.
- ci - Update github-ci for actions/cache, actions/setup-python from nodejs v16 to nodejs v20.
- ci - Update shell-function shRollupFetch() to fix blank date-committed.
- ci - bugfix - Fix google-chrome unable to create screenshot because user-data-dir is /dev/null.
Expand Down
2 changes: 1 addition & 1 deletion jslint.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ let jslint_charset_ascii = (
+ "@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_"
+ "`abcdefghijklmnopqrstuvwxyz{|}~\u007f"
);
let jslint_edition = "v2024.2.1-beta";
let jslint_edition = "v2024.3.1-beta";
let jslint_export; // The jslint object to be exported.
let jslint_fudge = 1; // Fudge starting line and starting
// ... column to 1.
Expand Down
3 changes: 2 additions & 1 deletion jslint_wrapper_vim.vim
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ function! SaveAndJslint(bang)
let &l:errorformat =
\ "%f.<node -e>.js:%n:%l:%c:%m," .
\ "%f:%n:%l:%c:%m"
let &l:makeprg = "node \"" . $HOME . "/.vim/jslint.mjs\" jslint_wrapper_vim"
let &l:makeprg = "node \"" . expand("<sfile>:p:h") . "/jslint.mjs\""
\ . " jslint_wrapper_vim"
\ . " \"" . fnamemodify(bufname("%"), ":p") . "\""
silent make! | cwindow | redraw!
endfunction
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@
"shCiArtifactUpload": 1,
"shCiPublishNpm": 1,
"type": "module",
"version": "2024.2.1-beta"
"version": "2024.3.1-beta"
}

0 comments on commit 9d5b92d

Please sign in to comment.