dotfiles

Obligatory dotfiles repo
git clone git://git.danielmoch.com/dotfiles.git
Log | Files | Refs

commit 6c0bcaedc5c24a11e444d5b98ca4b90c7d711b28
parent 821159dd2f1108d6cc337fe8fc767fddaae24b17
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Mon, 16 Dec 2019 20:44:11 -0500

Vis: Detect PowerShell modules

Diffstat:
M.config/vis/visrc.lua | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/.config/vis/visrc.lua b/.config/vis/visrc.lua @@ -11,6 +11,10 @@ end) vis.events.subscribe(vis.events.WIN_OPEN, function(win) -- Your per window configuration options e.g. vis:command('set number') + if win.file.name ~= nil and win.file.name:match('.psm1$') + then + win.syntax = 'powershell' + end set_indent(win.syntax) end)