File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
lua/rustaceanvim/commands Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,13 @@ All notable changes to this project will be documented in this file.
66The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
77and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
88
9+ ## [ Unreleased]
10+
11+ ### Fixed
12+
13+ - LSP: Don't try to delete ` RustLsp ` command on client exit
14+ if it doesn't exist.
15+
916## [ 4.10.2] - 2024-03-01
1017
1118### Fixed
Original file line number Diff line number Diff line change 320320
321321--- Delete the `:RustLsp` command
322322function M .delete_rust_lsp_command ()
323- vim .api .nvim_del_user_command (rust_lsp_cmd_name )
323+ if vim .cmd [rust_lsp_cmd_name ] then
324+ vim .api .nvim_del_user_command (rust_lsp_cmd_name )
325+ end
324326end
325327
326328--- Create the `:Rustc` command
You can’t perform that action at this time.
0 commit comments