This commit is contained in:
Jeff Lance 2020-09-08 18:02:14 +02:00
parent 5e8231524e
commit e1b7945706
10 changed files with 103 additions and 12 deletions

View File

@ -1,5 +1,6 @@
- link: - shell:
~/.themes/: - [
glob: true git clone https://github.com/addy-dclxvi/gtk-theme-collections ~/.themes,
force: false "Installing GTK themes."
path: meta/github/gtk-theme-collections/* ]

View File

@ -46,18 +46,18 @@ Once installed, the plugin will be automatically updated by Kite when necessary.
### Configuring supported languages ### Configuring supported languages
Kite supports Python (on by default) and Golang (off by default). Kite supports Python (on by default), JavaScript (off by default), and Golang (off by default and in beta).
To turn off Python support, set the `g:kite_supported_languages` list in your vimrc: To turn off Python, set the `g:kite_supported_languages` list in your vimrc:
```viml ```viml
let g:kite_supported_languages = [] let g:kite_supported_languages = []
``` ```
To turn on Golang support, ensure the Kite Engine has Golang enabled and then set the `g:kite_supported_languages` list in your vimrc: To turn on JavaScript or Golang support, ensure the Kite Engine has JavaScript or Golang enabled and then set the `g:kite_supported_languages` list in your vimrc:
```viml ```viml
let g:kite_supported_languages = ['python', 'go'] let g:kite_supported_languages = ['python', 'javascript', 'go']
``` ```
[Learn more about why Kite is the best autocomplete for Vim.](https://kite.com/integrations/vim/) [Learn more about why Kite is the best autocomplete for Vim.](https://kite.com/integrations/vim/)
@ -161,6 +161,11 @@ let g:kite_documentation_continual=1
``` ```
### Goto Definition
Use `<C-]>` or `:KiteGotoDefinition` to jump to a method's definition.
### Commands ### Commands
- `KiteDocsAtCursor` - show documentation for the keyword under the cursor. - `KiteDocsAtCursor` - show documentation for the keyword under the cursor.
@ -170,6 +175,7 @@ let g:kite_documentation_continual=1
- `KiteTutorial` - show a tutorial for how to use Kite with Vim. - `KiteTutorial` - show a tutorial for how to use Kite with Vim.
- `KiteEnableAutoStart` - start Kite automatically when Vim starts. - `KiteEnableAutoStart` - start Kite automatically when Vim starts.
- `KiteDisableAutoStart` - do not start Kite automatically when Vim starts. - `KiteDisableAutoStart` - do not start Kite automatically when Vim starts.
- `KiteGotoDefinition` - jump to a method's definition.

View File

@ -1 +1 @@
1.0.64 1.0.70

View File

@ -19,7 +19,11 @@ documentation about the identifier. In addition to documentation, Kite also
provides information about where you've used the identifier in your codebase, provides information about where you've used the identifier in your codebase,
as well as curated code examples showing you how to use the identifier. as well as curated code examples showing you how to use the identifier.
3. Copilot integration 3. Goto Definition
Press |C-]| to jump to a method's defintion.
4. Copilot integration
While you code in VIM, the Copilot will automatically show you information While you code in VIM, the Copilot will automatically show you information
about the code that you're currently working with. To open the Copilot, click about the code that you're currently working with. To open the Copilot, click

View File

@ -80,7 +80,7 @@ augroup Kite
autocmd! autocmd!
autocmd BufEnter * call kite#bufenter() autocmd BufEnter * call kite#bufenter()
autocmd VimEnter * call kite#configure_completeopt() autocmd VimEnter * call kite#configure_completeopt()
autocmd VimEnter * nested if &filetype !~# '^git' | call kite#onboarding#call(0) | endif autocmd VimEnter * nested if kite#utils#kite_running() && &filetype !~# '^git' | call kite#onboarding#call(0) | endif
augroup END augroup END
@ -95,4 +95,5 @@ command! KiteDisableAutoStart call kite#disable_auto_start()
command! KiteEnableAutoStart call kite#enable_auto_start() command! KiteEnableAutoStart call kite#enable_auto_start()
command! KiteShowPopularPatterns call kite#signature#show_popular_patterns() command! KiteShowPopularPatterns call kite#signature#show_popular_patterns()
command! KiteHidePopularPatterns call kite#signature#hide_popular_patterns() command! KiteHidePopularPatterns call kite#signature#hide_popular_patterns()
command! KiteGotoDefinition call kite#hover#goto_definition()

BIN
vim/vim/spell/fr.utf-8.spl Normal file

Binary file not shown.

BIN
vim/vim/spell/fr.utf-8.sug Normal file

Binary file not shown.

View File

@ -137,6 +137,12 @@ let mapleader = ";"
" Fast saving " Fast saving
nmap <leader>w :w!<cr> nmap <leader>w :w!<cr>
" Fast quitting without saving
nmap <leader>q :q!<cr>
" Fast quitting with saving if changes
nmap <leader>x :x<cr>
" " Allow saving of files as sudo when I forgot to start vim using sudo. " " Allow saving of files as sudo when I forgot to start vim using sudo.
" ca w!! w !sudo tee > /dev/null % " ca w!! w !sudo tee > /dev/null %
" nmap <leader>W :w!!<cr> " nmap <leader>W :w!!<cr>
@ -657,6 +663,7 @@ let g:goyo_margin_bottom = 2
" ----- " -----
let g:vimtex_compiler_progname = 'nvr' let g:vimtex_compiler_progname = 'nvr'
let g:tex_flavor = 'latex'
" ----- " -----
" }}} " }}}

View File

@ -0,0 +1,36 @@
#define base00 #2d2d2d
#define base01 #f2777a
#define base02 #99cc99
#define base03 #d2a853
#define base04 #6699cc
#define base05 #cc99cc
#define base06 #66cccc
#define base07 #d3d0c8
#define base08 #515151
#define base09 #ff5f63
#define base0A #94ea94
#define base0B #f0b643
#define base0C #59a2ea
#define base0D #ea94ea
#define base0E #59eaea
#define base0F #f2f0ec
*.foreground: base07
*.background: base00
*.cursorColor: base07
*.color0: base00
*.color1: base01
*.color2: base02
*.color3: base03
*.color4: base04
*.color5: base05
*.color6: base06
*.color7: base07
*.color8: base08
*.color9: base09
*.color10: base0A
*.color11: base0B
*.color12: base0C
*.color13: base0D
*.color14: base0E
*.color15: base0F

View File

@ -0,0 +1,36 @@
#define base00 #2d2d2d
#define base01 #f2777a
#define base02 #99cc99
#define base03 #d2a853
#define base04 #6699cc
#define base05 #cc99cc
#define base06 #66cccc
#define base07 #d3d0c8
#define base08 #515151
#define base09 #ff5f63
#define base0A #94ea94
#define base0B #f0b643
#define base0C #59a2ea
#define base0D #ea94ea
#define base0E #59eaea
#define base0F #f2f0ec
*.foreground: base07
*.background: base00
*.cursorColor: base07
*.color0: base00
*.color1: base01
*.color2: base02
*.color3: base03
*.color4: base04
*.color5: base05
*.color6: base06
*.color7: base07
*.color8: base08
*.color9: base09
*.color10: base0A
*.color11: base0B
*.color12: base0C
*.color13: base0D
*.color14: base0E
*.color15: base0F