summaryrefslogtreecommitdiffstats
path: root/runtime/compiler/go.vim
blob: cf638f23d6067b1fe865f4ec18688d6efbeef442 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
" Vim compiler file
" Compiler:	Go
" Maintainer:	David Barnett (https://github.com/google/vim-ft-go)
" Last Change:	2014 Aug 16

if exists('current_compiler')
  finish
endif
let current_compiler = 'go'

if exists(':CompilerSet') != 2
  command -nargs=* CompilerSet setlocal <args>
endif

let s:save_cpo = &cpo
set cpo-=C

CompilerSet makeprg=go\ build
CompilerSet errorformat=
    \%-G#\ %.%#,
    \%A%f:%l:%c:\ %m,
    \%A%f:%l:\ %m,
    \%C%*\\s%m,
    \%-G%.%#

let &cpo = s:save_cpo
unlet s:save_cpo

" vim: sw=2 sts=2 et
� ��� ����� ����� �������, ��� �� �������� ����� ���� ��� ������� ����������� ��������. � ���� ������ Vim ���������� Notepad �� MS-Windows. .B eVim ������ ����������� � ���������� ������������ ����������, ����� ���������� ������������� ���� � ���������������� ������. .PP ��� ������� ������� ��� ���, ��� �� �����-�� �������� �� � ��������� �������� � Vim � ������� ������. �������������� ������ ��� ���� ���������� ������� ����� ����������, ��� ��� ������������� �������� Vim. .PP ������� .B eview ��������� ����� �� �� ����� ������, �� ���� ����������� � ������ "������ ��� ������". ������������� ���� ������� ��������� ��������� ������������� evim \-R. .PP ��������� � Vim, ������ ������� � �.�. �������� �� �������� ����������� vim(1). .PP ��� ������������� .B evim ���������� ����� 'insertmode', ��� ��������� ������� ����� ��������. .br ����� ����, ������������� ��������, ����������� ������������ ������ MS-Windows ��� ���������� ������ ����������� � �������. CTRL-X ������������ ��� ��������� ������, CTRL-C ��� ����������� � CTRL-V ��� �������. ����� ��������������� ����������� ��������� ������ CTRL-V, ����������� CTRL-Q. .SH ��������� ������� ��. vim(1). .SH ����� .TP 15 /usr/local/lib/vim/evim.vim ��������, ������� ����������� ��� ������������� eVim. .SH AKA eVim ����� �������� ��� "Vim ��� ��������". ��� ���������� ������� ������������� �� ����� ������������� �������� �� ������ ������, �������������� ������� �� ������ ����� �� ������. .SH ������ ����� vim(1) .SH ������ ������� ����� .B Vim ������� ������ ����������� (Bram Moolenaar), �������� �������� �������� ���������� �����. ��. ���� �������/�������������.