1
0
mirror of https://github.com/gryf/.vim.git synced 2025-12-17 19:40:29 +01:00

Update for plugins: pyflakes and pydoc. Added awesome plugin for autocompletion acp.

This commit is contained in:
2010-11-25 21:53:22 +01:00
parent 0899a3d3ca
commit 0a1e903e9e
19 changed files with 2607 additions and 420 deletions

View File

@@ -85,16 +85,15 @@ function! ShowPyDoc(name, type)
endif
endfunction
"highlighting
function! Highlight(name)
execute "sb __doc__"
set filetype=man
syn on
execute 'syntax keyword pydoc '.s:name2
"syn on
execute 'syntax keyword pydoc '.a:name
hi pydoc gui=reverse
endfunction
"mappings
au FileType python,man map <buffer> <leader>pw :call ShowPyDoc('<C-R><C-W>', 1)<CR>
au FileType python,man map <buffer> <leader>pW :call ShowPyDoc('<C-R><C-A>', 1)<CR>