Adjust rust config
This commit is contained in:
parent
81107d89c4
commit
f4d92ed3d8
2 changed files with 6 additions and 0 deletions
4
lsp.vim
4
lsp.vim
|
@ -9,6 +9,9 @@ set completeopt=menuone,noinsert,noselect
|
||||||
" Avoid showing extra messages when using completion
|
" Avoid showing extra messages when using completion
|
||||||
set shortmess+=c
|
set shortmess+=c
|
||||||
|
|
||||||
|
" Recognize slint files
|
||||||
|
autocmd BufEnter *.slint :setlocal filetype=slint
|
||||||
|
|
||||||
" Configure LSP through rust-tools.nvim plugin.
|
" Configure LSP through rust-tools.nvim plugin.
|
||||||
" rust-tools will configure and enable certain LSP features for us.
|
" rust-tools will configure and enable certain LSP features for us.
|
||||||
" See https://github.com/simrat39/rust-tools.nvim#configuration
|
" See https://github.com/simrat39/rust-tools.nvim#configuration
|
||||||
|
@ -82,6 +85,7 @@ lua<<EOF
|
||||||
vim.g.markdown_fenced_languages = {
|
vim.g.markdown_fenced_languages = {
|
||||||
"ts=typescript"
|
"ts=typescript"
|
||||||
}
|
}
|
||||||
|
require("nvim-lsp-installer").setup {}
|
||||||
local lspconfig = require('lspconfig')
|
local lspconfig = require('lspconfig')
|
||||||
local util = require('lspconfig.util')
|
local util = require('lspconfig.util')
|
||||||
|
|
||||||
|
|
2
plug.vim
2
plug.vim
|
@ -63,6 +63,8 @@ Plug 'windwp/nvim-projectconfig'
|
||||||
|
|
||||||
" Collection of common configurations for the Nvim LSP client
|
" Collection of common configurations for the Nvim LSP client
|
||||||
Plug 'neovim/nvim-lspconfig'
|
Plug 'neovim/nvim-lspconfig'
|
||||||
|
" Add commands to add and manage lsp plugins
|
||||||
|
Plug 'williamboman/nvim-lsp-installer'
|
||||||
|
|
||||||
" Completion framework
|
" Completion framework
|
||||||
" I found these when updating my lsp configuration and after using the
|
" I found these when updating my lsp configuration and after using the
|
||||||
|
|
Loading…
Reference in a new issue