mirror of
https://github.com/hanzoai/hanzo.vim.git
synced 2026-11-09 15:19:11 +00:00
Add a buffer that invokes a neural completion for the entire buffer contents. * Tech: Split neural prompt and run and add line options * Config: Add initialisation settings for neural buffer * Config: Add completion trigger plug mapping for neural buffer * Fix: prompt ui escape keys * Test: Add filetype in test vimrc for neural buffer tests
20 lines
512 B
VimL
20 lines
512 B
VimL
" vint: -ProhibitSetNoCompatible
|
|
|
|
" Load builtin plugins
|
|
" We need this because run_vim.sh sets -i NONE
|
|
if has('win32')
|
|
set runtimepath=$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,C:\vader,C:\testplugin
|
|
else
|
|
set runtimepath=/home/vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,/testplugin,/vader
|
|
endif
|
|
|
|
if !has('win32')
|
|
set shell=/bin/sh
|
|
set shellcmdflag=-c
|
|
endif
|
|
|
|
set nocompatible
|
|
filetype plugin on
|
|
" The encoding must be explicitly set for tests for Windows.
|
|
execute 'set encoding=utf-8'
|