add stuff and test mr_template
This commit is contained in:
parent
27fd7cc0a1
commit
c2f6aa1b45
2
.gitlab/merge_requests_templates/default.md
Normal file
2
.gitlab/merge_requests_templates/default.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
|
||||||
|
/assign_reviewer @patrick.michl
|
@ -46,6 +46,7 @@ local on_attach = function(client, bufnr)
|
|||||||
underline = true
|
underline = true
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
require "lsp_signature".on_attach({doc_lines = 0})
|
||||||
end
|
end
|
||||||
|
|
||||||
-- nvim-cmp supports additional completion capabilities
|
-- nvim-cmp supports additional completion capabilities
|
||||||
@ -66,6 +67,9 @@ servers.on_server_ready(function(server)
|
|||||||
if server.name == "rust_analyzer" then
|
if server.name == "rust_analyzer" then
|
||||||
config.settings = require'lsp.rust'
|
config.settings = require'lsp.rust'
|
||||||
end
|
end
|
||||||
|
if server.name == "solargraph" then
|
||||||
|
server.cmd = "solargraph"
|
||||||
|
end
|
||||||
server:setup(config)
|
server:setup(config)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
@ -44,10 +44,12 @@ return require('packer').startup({function()
|
|||||||
use 'xolox/vim-misc'
|
use 'xolox/vim-misc'
|
||||||
use 'airblade/vim-gitgutter'
|
use 'airblade/vim-gitgutter'
|
||||||
use 'akinsho/toggleterm.nvim'
|
use 'akinsho/toggleterm.nvim'
|
||||||
|
|
||||||
-- LSP Setup
|
-- LSP Setup
|
||||||
use 'neovim/nvim-lspconfig'
|
use 'neovim/nvim-lspconfig'
|
||||||
use 'williamboman/nvim-lsp-installer'
|
use 'williamboman/nvim-lsp-installer'
|
||||||
use 'nvim-lua/lsp_extensions.nvim'
|
use 'nvim-lua/lsp_extensions.nvim'
|
||||||
|
use 'ray-x/lsp_signature.nvim'
|
||||||
use 'nvim-lua/completion-nvim'
|
use 'nvim-lua/completion-nvim'
|
||||||
use 'nvim-lua/popup.nvim'
|
use 'nvim-lua/popup.nvim'
|
||||||
use {
|
use {
|
||||||
|
@ -7,6 +7,7 @@ cmd('syntax on')
|
|||||||
cmd('set number')
|
cmd('set number')
|
||||||
cmd('set completeopt=menuone,noinsert,noselect')
|
cmd('set completeopt=menuone,noinsert,noselect')
|
||||||
cmd('set shortmess+=c')
|
cmd('set shortmess+=c')
|
||||||
|
cmd("autocmd CursorHold,CursorHoldI *.rs :lua require'lsp_extensions'.inlay_hints{ only_current_line = true }")
|
||||||
|
|
||||||
o.startofline = true
|
o.startofline = true
|
||||||
wo.cursorline = true
|
wo.cursorline = true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user