Update for Neovim 0.10.0
Signed-off-by: Danila Fedorin <daniel.fedorin@hpe.com>
This commit is contained in:
parent
55e6c796b7
commit
255aec5a3c
|
@ -42,6 +42,10 @@ Plug 'luochen1990/rainbow'
|
|||
Plug 'simrat39/symbols-outline.nvim'
|
||||
Plug 'folke/todo-comments.nvim'
|
||||
|
||||
" AI (Yes, you heard me)
|
||||
Plug 'aduros/ai.vim'
|
||||
Plug 'github/copilot.vim'
|
||||
|
||||
" Misc
|
||||
Plug 'uga-rosa/utf8.nvim'
|
||||
Plug 'nvim-lua/plenary.nvim'
|
||||
|
@ -68,6 +72,7 @@ autocmd BufRead,BufNewFile *.dl set filetype=dl " Datalog is Datalog
|
|||
autocmd FileType crystal setlocal shiftwidth=2 " Crystal likes 2-wide indent
|
||||
autocmd FileType cpp setlocal shiftwidth=2 " Chapel has two-wide indents
|
||||
autocmd BufRead,BufNewFile *.ast set filetype=ast " AST files are from Chapel.
|
||||
autocmd VimEnter * Copilot enable
|
||||
|
||||
" Settings for Rainbow
|
||||
let g:rainbow_active = 1
|
||||
|
@ -93,6 +98,7 @@ let g:fzf_action = { 'enter': 'tab drop' }
|
|||
let g:neovide_cursor_vfx_mode="ripple"
|
||||
|
||||
colorscheme nord
|
||||
hi Comment guifg=#A3BE8C
|
||||
|
||||
lua require('lspconfig').hls.setup{}
|
||||
lua require('lspconfig').rls.setup{}
|
||||
|
@ -142,16 +148,15 @@ function! g:CoqtailHighlight()
|
|||
hi default link CoqtailSent PmenuSel
|
||||
endfunction
|
||||
|
||||
lua << EOF
|
||||
require("todo-comments").setup {
|
||||
search = { command = "ag", },
|
||||
}
|
||||
EOF
|
||||
|
||||
lua << EOF
|
||||
local lspconfig = require 'lspconfig'
|
||||
local configs = require 'lspconfig.configs'
|
||||
local util = require 'lspconfig.util'
|
||||
local todocomments = require 'todo-comments'
|
||||
|
||||
todocomments.setup {
|
||||
search = { command = "ag", },
|
||||
}
|
||||
|
||||
configs.chplcheck = {
|
||||
default_config = {
|
||||
|
@ -178,4 +183,6 @@ lua << EOF
|
|||
lspconfig.chplcheck.setup{}
|
||||
lspconfig.chpllsp.setup{}
|
||||
vim.cmd("autocmd BufRead,BufNewFile *.chpl set filetype=chpl")
|
||||
|
||||
vim.lsp.inlay_hint.enable(true, nil)
|
||||
EOF
|
||||
|
|
Loading…
Reference in New Issue
Block a user