view runtime/indent/ps1.vim @ 30235:2403a1b53826 v9.0.0453

patch 9.0.0453: on an AZERTY keyboard digit keys get the shift modifier Commit: https://github.com/vim/vim/commit/83a19c5fda0556330860899bfb484addf9178cd0 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Sep 12 20:35:28 2022 +0100 patch 9.0.0453: on an AZERTY keyboard digit keys get the shift modifier Problem: On an AZERTY keyboard digit keys get the shift modifier. Solution: Remove the shift modifier from digit keys. (closes https://github.com/vim/vim/issues/11109)
author Bram Moolenaar <Bram@vim.org>
date Mon, 12 Sep 2022 21:45:03 +0200
parents 5c98ea5f5d6e
children
line wrap: on
line source

" Vim indent file
" Language:    Windows PowerShell
" URL:         https://github.com/PProvost/vim-ps1
" Last Change: 2017 Oct 19

" Only load this indent file when no other was loaded.
if exists("b:did_indent")
	finish
endif
let b:did_indent = 1

" smartindent is good enough for powershell
setlocal smartindent
" disable the indent removal for # marks
inoremap <buffer> # X#

let b:undo_indent = "setl si<"