Mercurial > vim
comparison src/strings.c @ 26771:fc859aea8cec v8.2.3914
patch 8.2.3914: various spelling mistakes in comments
Commit: https://github.com/vim/vim/commit/af4a61a85d6e8cacc35324f266934bc463a21673
Author: Dominique Pelle <dominique.pelle@gmail.com>
Date: Mon Dec 27 17:21:41 2021 +0000
patch 8.2.3914: various spelling mistakes in comments
Problem: Various spelling mistakes in comments.
Solution: Fix the mistakes. (Dominique Pell?, closes https://github.com/vim/vim/issues/9416)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 27 Dec 2021 18:30:05 +0100 |
parents | 31c23760d590 |
children | bce848ec8b1b |
comparison
equal
deleted
inserted
replaced
26770:15ff3f2e0d58 | 26771:fc859aea8cec |
---|---|
169 | 169 |
170 // Fish shell uses '\' as an escape character within single quotes, so '\' | 170 // Fish shell uses '\' as an escape character within single quotes, so '\' |
171 // itself must be escaped to get a literal '\'. | 171 // itself must be escaped to get a literal '\'. |
172 fish_like = fish_like_shell(); | 172 fish_like = fish_like_shell(); |
173 | 173 |
174 // PowerShell uses it's own version for quoting single quotes | 174 // PowerShell uses its own version for quoting single quotes |
175 shname = gettail(p_sh); | 175 shname = gettail(p_sh); |
176 powershell = strstr((char *)shname, "pwsh") != NULL; | 176 powershell = strstr((char *)shname, "pwsh") != NULL; |
177 # ifdef MSWIN | 177 # ifdef MSWIN |
178 powershell = powershell || strstr((char *)shname, "powershell") != NULL; | 178 powershell = powershell || strstr((char *)shname, "powershell") != NULL; |
179 // PowerShell only accepts single quotes so override shellslash. | 179 // PowerShell only accepts single quotes so override shellslash. |