mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-10 04:23:51 -05:00
- Allow to define heuristics in heuristics.yaml - Migrate all filetypes from vim beginning with "a" - Remove enhanced cpp syntax (it was too slow to load) - Use setf instead of set ft for setting filetype (faster) - Override native hauristics with au! - Add globbing of files for packages - Replace predefined dirs with extra_dirs and ignored_dirs - Allow to define proper order of packages with topological sort - Fix powershell detection - Lint and fix many packages.yaml issues - etc etd
23 lines
496 B
VimL
23 lines
496 B
VimL
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'awk') == -1
|
|
|
|
" Vim filetype plugin
|
|
" Language: awk, nawk, gawk, mawk
|
|
" Maintainer: Antonio Colombo <azc100@gmail.com>
|
|
" Last Change: 2017 Feb 17
|
|
|
|
" This plugin was prepared by Mark Sikora
|
|
|
|
" Only do this when not done yet for this buffer
|
|
if exists("b:did_ftplugin")
|
|
finish
|
|
endif
|
|
|
|
" Don't load another plugin for this buffer
|
|
let b:did_ftplugin = 1
|
|
|
|
let b:undo_ftplugin = "setl commentstring<"
|
|
|
|
setlocal commentstring=#\ %s
|
|
|
|
endif
|