updates
This commit is contained in:
parent
9d61ede217
commit
7aead9ddc0
|
@ -1,3 +1,9 @@
|
||||||
{
|
{
|
||||||
"diagnostic.showUnused": false,
|
"diagnostic.showUnused": false,
|
||||||
|
"languageserver": {
|
||||||
|
"vala": {
|
||||||
|
"command": "vala-language-server",
|
||||||
|
"filetypes": ["vala", "genie"]
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
1
init.vim
1
init.vim
|
@ -61,6 +61,7 @@ if exists('g:neovide')
|
||||||
let g:neovide_transparency = 0.90
|
let g:neovide_transparency = 0.90
|
||||||
let g:neovide_refresh_rate = 60
|
let g:neovide_refresh_rate = 60
|
||||||
let g:neovide_cursor_vfx_mode = "pixiedust"
|
let g:neovide_cursor_vfx_mode = "pixiedust"
|
||||||
|
let g:neovide_confirm_quit = v:true
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if exists('g:fvim_loaded')
|
if exists('g:fvim_loaded')
|
||||||
|
|
|
@ -22,7 +22,9 @@ return require('packer').startup(function(use)
|
||||||
'kyazdani42/nvim-tree.lua',
|
'kyazdani42/nvim-tree.lua',
|
||||||
requires = 'kyazdani42/nvim-web-devicons',
|
requires = 'kyazdani42/nvim-web-devicons',
|
||||||
config = function()
|
config = function()
|
||||||
require('nvim-tree').setup {}
|
require('nvim-tree').setup {
|
||||||
|
update_cwd = true
|
||||||
|
}
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
use 'bryanmylee/vim-colorscheme-icons'
|
use 'bryanmylee/vim-colorscheme-icons'
|
||||||
|
@ -189,11 +191,10 @@ return require('packer').startup(function(use)
|
||||||
end,
|
end,
|
||||||
config = function()
|
config = function()
|
||||||
require 'nvim-treesitter.install'.compilers = { 'cl', 'clang' }
|
require 'nvim-treesitter.install'.compilers = { 'cl', 'clang' }
|
||||||
|
|
||||||
require 'nvim-treesitter.configs'.setup {
|
require 'nvim-treesitter.configs'.setup {
|
||||||
ensure_installed = "maintained",
|
ensure_installed = "all",
|
||||||
highlight = {
|
highlight = {
|
||||||
enable = true
|
--enable = true
|
||||||
},
|
},
|
||||||
indent = {
|
indent = {
|
||||||
enable = true
|
enable = true
|
||||||
|
@ -210,7 +211,48 @@ return require('packer').startup(function(use)
|
||||||
use 'lepture/vim-jinja'
|
use 'lepture/vim-jinja'
|
||||||
use {
|
use {
|
||||||
'neoclide/coc.nvim',
|
'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 'editorconfig/editorconfig-vim'
|
||||||
use {
|
use {
|
||||||
|
@ -240,6 +282,11 @@ return require('packer').startup(function(use)
|
||||||
-- To be configured!
|
-- To be configured!
|
||||||
'numToStr/FTerm.nvim'
|
'numToStr/FTerm.nvim'
|
||||||
}
|
}
|
||||||
|
use { 'sirver/ultisnips' }
|
||||||
|
use { 'honza/vim-snippets' }
|
||||||
|
use { 'andrewstuart/vim-kubernetes' }
|
||||||
|
use { 'arrufat/vala.vim' }
|
||||||
|
use { 'pirmd/gemini.vim' }
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue