A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/sheerun/vim-polyglot/commit/740a60811c4647eecf3e2f82a24dccc1abbd686a below:

Use nroff filetype for man pages, closes #611 · sheerun/vim-polyglot@740a608 · GitHub

File tree Expand file treeCollapse file tree 5 files changed

+6

-13

lines changed

Filter options

Expand file treeCollapse file tree 5 files changed

+6

-13

lines changed Original file line number Diff line number Diff line change

@@ -7,7 +7,7 @@ A collection of language packs for Vim.

7 7

> One to rule them all, one to find them, one to bring them all and in the darkness bind them.

8 8 9 9

- It **won't affect your startup time**, as scripts are loaded only on demand\*.

10 -

- It **installs and updates 120+ times faster** than the <!--Package Count-->598<!--/Package Count--> packages it consists of.

10 +

- It **installs and updates 120+ times faster** than the <!--Package Count-->597<!--/Package Count--> packages it consists of.

11 11

- It is also more secure (scripts loaded for every filetype are generated by vim-polyglot)

12 12

- Best syntax and indentation support (no other features). Hand-selected language packs.

13 13

- Automatically detects indentation (includes performance-optimized version of [vim-sleuth](https://github.com/tpope/vim-sleuth), can be disabled)

Original file line number Diff line number Diff line change

@@ -315,7 +315,6 @@ let s:globs = {

315 315

\ 'make': '*.mak,*.dsp,*.mk,*[mM]akefile',

316 316

\ 'mako': '*.mako,*.mao',

317 317

\ 'mallard': '*.page',

318 -

\ 'man': '*.1,*.1in,*.1m,*.1x,*.2,*.3,*.3in,*.3m,*.3p,*.3pm,*.3qt,*.3x,*.4,*.5,*.6,*.7,*.8,*.9,*.man,*.mdoc',

319 318

\ 'manconf': 'man.config',

320 319

\ 'map': '*.map',

321 320

\ 'maple': '*.mv,*.mpl,*.mws',

@@ -361,7 +360,7 @@ let s:globs = {

361 360

\ 'ninja': '*.ninja',

362 361

\ 'nix': '*.nix',

363 362

\ 'nqc': '*.nqc',

364 -

\ 'nroff': '*.tr,*.nr,*.roff,*.tmac,*.mom,tmac.*',

363 +

\ 'nroff': '*.1,*.1in,*.1m,*.1x,*.2,*.3,*.3in,*.3m,*.3p,*.3pm,*.3qt,*.3x,*.4,*.5,*.6,*.7,*.8,*.9,*.man,*.mdoc,*.tr,*.nr,*.roff,*.tmac,*.mom,tmac.*',

365 364

\ 'nsis': '*.nsi,*.nsh',

366 365

\ 'oasis': '_oasis',

367 366

\ 'obj': '*.obj',

Original file line number Diff line number Diff line change

@@ -145,10 +145,6 @@ if !has_key(g:polyglot_is_disabled, 'xpm')

145 145

au BufNewFile,BufRead *.xpm setf xpm

146 146

endif

147 147 148 -

if !has_key(g:polyglot_is_disabled, 'man')

149 -

au BufNewFile,BufRead *.1,*.1in,*.1m,*.1x,*.2,*.3,*.3in,*.3m,*.3p,*.3pm,*.3qt,*.3x,*.4,*.5,*.6,*.7,*.8,*.9,*.man,*.mdoc setf man

150 -

endif

151 - 152 148

if !has_key(g:polyglot_is_disabled, 'xf86conf')

153 149

au BufNewFile,BufRead */xorg.conf.d/*.conf,xorg.conf,xorg.conf-4 setf xf86conf

154 150

au BufNewFile,BufRead XF86Config-4* call s:StarSetf('xf86conf')

@@ -866,6 +862,7 @@ if !has_key(g:polyglot_is_disabled, 'nqc')

866 862

endif

867 863 868 864

if !has_key(g:polyglot_is_disabled, 'nroff')

865 +

au BufNewFile,BufRead *.1,*.1in,*.1m,*.1x,*.2,*.3,*.3in,*.3m,*.3p,*.3pm,*.3qt,*.3x,*.4,*.5,*.6,*.7,*.8,*.9,*.man,*.mdoc setf nroff

869 866

au BufNewFile,BufRead *.mom,*.nr,*.roff,*.tmac,*.tr setf nroff

870 867

au BufNewFile,BufRead tmac.* call s:StarSetf('nroff')

871 868

endif

Original file line number Diff line number Diff line change

@@ -3863,6 +3863,8 @@ name: nroff

3863 3863

remote: vim/vim:runtime

3864 3864

glob: "**/nroff.vim"

3865 3865

filetypes:

3866 +

- name: nroff

3867 +

linguist: Roff Manpage

3866 3868

- name: nroff

3867 3869

patterns:

3868 3870

- pattern: "*.tr,*.nr,*.roff,*.tmac,*.mom"

@@ -5509,11 +5511,6 @@ filetypes:

5509 5511

patterns:

5510 5512

- pattern: "XF86Config-4*,XF86Config*,*/xorg.conf.d/*.conf,xorg.conf,xorg.conf-4"

5511 5513

---

5512 -

name: man

5513 -

filetypes:

5514 -

- name: man

5515 -

linguist: Roff Manpage

5516 -

---

5517 5514

name: xpm

5518 5515

remote: vim/vim:runtime

5519 5516

glob: "**/xpm.vim"

Original file line number Diff line number Diff line change

@@ -463,6 +463,7 @@ call TestFiletype('netrc')

463 463

call TestFiletype('ninja')

464 464

call TestFiletype('ncf')

465 465

call TestFiletype('nroff')

466 +

call TestFiletype('nroff')

466 467

call TestFiletype('nqc')

467 468

call TestFiletype('nsis')

468 469

call TestFiletype('occam')

@@ -638,7 +639,6 @@ call TestFiletype('svn')

638 639

call TestFiletype('text')

639 640

call TestFiletype('pullrequest')

640 641

call TestFiletype('xf86conf')

641 -

call TestFiletype('man')

642 642

call TestFiletype('xpm')

643 643

call TestFiletype('xpm2')

644 644

call TestFiletype('context')

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4