Add rustacean nvim
This commit is contained in:
parent
0c49ef9e0d
commit
da358585d9
4 changed files with 40 additions and 17 deletions
18
init.lua
18
init.lua
|
|
@ -611,9 +611,9 @@ require('lazy').setup({
|
|||
-- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/
|
||||
local servers = {
|
||||
-- clangd = {},
|
||||
-- gopls = {},
|
||||
gopls = {},
|
||||
-- pyright = {},
|
||||
rust_analyzer = {},
|
||||
-- rust_analyzer = {},
|
||||
eslint = {},
|
||||
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
|
||||
--
|
||||
|
|
@ -731,6 +731,7 @@ require('lazy').setup({
|
|||
typescriptreact = { 'prettierd', 'prettier', stop_after_first = true },
|
||||
|
||||
rust = { 'rustfmt' },
|
||||
go = { 'gofmt' },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
@ -785,6 +786,17 @@ require('lazy').setup({
|
|||
},
|
||||
completion = { completeopt = 'menu,menuone,noinsert' },
|
||||
|
||||
-- https://github.com/rebelot/kanagawa.nvim/issues/67#issuecomment-1218017756
|
||||
window = {
|
||||
completion = {
|
||||
winhighlight = 'Normal:Normal,FloatBorder:FloatBorder,CursorLine:Visual,Search:None',
|
||||
},
|
||||
|
||||
-- documentation = {
|
||||
-- winhighlight = 'Normal:Normal,FloatBorder:FloatBorder,CursorLine:Visual,Search:None',
|
||||
-- },
|
||||
},
|
||||
|
||||
-- For an understanding of why these mappings were
|
||||
-- chosen, you will need to read `:help ins-completion`
|
||||
--
|
||||
|
|
@ -975,7 +987,7 @@ require('lazy').setup({
|
|||
-- Here are some example plugins that I've included in the Kickstart repository.
|
||||
-- Uncomment any of the lines below to enable them (you will need to restart nvim).
|
||||
--
|
||||
-- require 'kickstart.plugins.debug',
|
||||
require 'kickstart.plugins.debug',
|
||||
require 'kickstart.plugins.indent_line',
|
||||
require 'kickstart.plugins.lint',
|
||||
require 'kickstart.plugins.autopairs',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue