view runtime/indent/ps1.vim @ 27790:a7b8f78dd868 v8.2.4421

patch 8.2.4421: some installed files and directories have wrong permissions Commit: https://github.com/vim/vim/commit/20563e0f848d88b025ae5d2b0601f8bc51944974 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Feb 19 13:25:18 2022 +0000 patch 8.2.4421: some installed files and directories have wrong permissions Problem: Some installed files and directories have wrong permissions. Solution: Adjust the Makefile and shell to set permissions. (closes https://github.com/vim/vim/issues/9793)
author Bram Moolenaar <Bram@vim.org>
date Sat, 19 Feb 2022 14:30: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<"