view runtime/indent/ps1.vim @ 34244:d15d40bf532b

runtime(doc): correct Vim patch for Wayland support Commit: https://github.com/vim/vim/commit/8fecb472c4a3f0f1ea364422424c56d1e0771b3e Author: Christian Brabandt <cb@256bit.org> Date: Tue Jan 30 23:37:41 2024 +0100 runtime(doc): correct Vim patch for Wayland support Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Tue, 30 Jan 2024 23:45:03 +0100
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<"