1
0
Fork 0
This commit is contained in:
Vivianne 2022-04-22 13:54:00 -07:00
parent 9d61ede217
commit 7aead9ddc0
3 changed files with 59 additions and 5 deletions

View File

@ -1,3 +1,9 @@
{
"diagnostic.showUnused": false,
"languageserver": {
"vala": {
"command": "vala-language-server",
"filetypes": ["vala", "genie"]
}
}
}

View File

@ -61,6 +61,7 @@ if exists('g:neovide')
let g:neovide_transparency = 0.90
let g:neovide_refresh_rate = 60
let g:neovide_cursor_vfx_mode = "pixiedust"
let g:neovide_confirm_quit = v:true
endif
if exists('g:fvim_loaded')

View File

@ -22,7 +22,9 @@ return require('packer').startup(function(use)
'kyazdani42/nvim-tree.lua',
requires = 'kyazdani42/nvim-web-devicons',
config = function()
require('nvim-tree').setup {}
require('nvim-tree').setup {
update_cwd = true
}
end
}
use 'bryanmylee/vim-colorscheme-icons'
@ -189,11 +191,10 @@ return require('packer').startup(function(use)
end,
config = function()
require 'nvim-treesitter.install'.compilers = { 'cl', 'clang' }
require 'nvim-treesitter.configs'.setup {
ensure_installed = "maintained",
ensure_installed = "all",
highlight = {
enable = true
--enable = true
},
indent = {
enable = true
@ -210,7 +211,48 @@ return require('packer').startup(function(use)
use 'lepture/vim-jinja'
use {
'neoclide/coc.nvim',
branch = 'release'
branch = 'release',
config = function()
vim.g.coc_global_extensions = {
'coc-cmake',
'coc-css',
'coc-docker',
'coc-git',
'coc-html',
'coc-json',
'coc-rls',
'coc-sql',
'coc-toml',
'coc-tsserver',
'coc-yaml',
'coc-zig'
}
vim.api.nvim_exec(
[[
function! s:check_back_space() abort
let col = col('.') - 1
return !col || getline('.')[col - 1] =~# '\s'
endfunction
inoremap <silent><expr> <Tab>
\ pumvisible() ? "\<C-n>" :
\ <SID>check_back_space() ? "\<Tab>" :
\ coc#refresh()
nnoremap <silent> K :call <SID>show_documentation()<CR>
function! s:show_documentation()
if (index(['vim','help'], &filetype) >= 0)
execute 'h '.expand('<cword>')
elseif (coc#rpc#ready())
call CocActionAsync('doHover')
else
execute '!' . &keywordprg . " " . expand('<cword>')
endif
endfunction
]], true)
end
}
use 'editorconfig/editorconfig-vim'
use {
@ -240,6 +282,11 @@ return require('packer').startup(function(use)
-- To be configured!
'numToStr/FTerm.nvim'
}
use { 'sirver/ultisnips' }
use { 'honza/vim-snippets' }
use { 'andrewstuart/vim-kubernetes' }
use { 'arrufat/vala.vim' }
use { 'pirmd/gemini.vim' }
end)