Skip to content

Commit

Permalink
v0.52
Browse files Browse the repository at this point in the history
  • Loading branch information
liuchengxu committed Feb 18, 2024
1 parent 1e86663 commit e1aba0d
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 6 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
# CHANGELOG

## [unreleased]

## [0.52] 2024-2-18

## [unreleased]

## [0.51] 2024-02-18

## Added

- Input history of providers are now persistent.
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "maple"
build = "build.rs"
edition = "2021"
version = "0.1.51"
version = "0.1.52"
rust-version = "1.70"
license = "MIT"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion crates/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ members = [
"types",
"tree_sitter",
"utils",
"upgrade",
"upgrade", "xtask",
]

exclude = ["config_gen"]
Expand Down
9 changes: 9 additions & 0 deletions crates/ide/src/linting/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,15 @@ impl PartialEq for Diagnostic {
// && self.column_start == other.column_start
// && self.column_end == other.column_end

// The diagnostics are considered as the same if they are on the same line and have the same display message.
if self.spans.iter().zip(other.spans.iter()).all(|(a, b)| {
a.line_start == a.line_end && a.line_start == b.line_start && b.line_start == b.line_end
}) && is_same_code()
&& self.message == other.message
{
return true;
}

self.spans == other.spans
// Having two diagnostics with the same code but different message is possible, which
// points to the same error essentially.
Expand Down
2 changes: 1 addition & 1 deletion install.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env pwsh

$version = 'v0.51'
$version = 'v0.52'
$APP = 'maple'
$url = "https://github.com/liuchengxu/vim-clap/releases/download/$version/$APP-"
$output = "$PSScriptRoot\bin\$APP.exe"
Expand Down
2 changes: 1 addition & 1 deletion plugin/clap.vim
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
" vim-clap - Modern interactive filter and dispatcher
" Author: Liu-Cheng Xu <xuliuchengxlc@gmail.com>
" Website: https://github.com/liuchengxu/vim-clap
" Version: 0.51
" Version: 0.52
" License: MIT

if exists('g:loaded_clap')
Expand Down

0 comments on commit e1aba0d

Please sign in to comment.