nvim: add marks.nvim, webapi-vim, change tokyonight theme
This commit is contained in:
parent
75aec5dd32
commit
952eec8051
1 changed files with 10 additions and 2 deletions
|
@ -52,7 +52,7 @@ return require('packer').startup({function()
|
||||||
use { -- tokyonight.nvim: tokyonight theme
|
use { -- tokyonight.nvim: tokyonight theme
|
||||||
'folke/tokyonight.nvim',
|
'folke/tokyonight.nvim',
|
||||||
config = function()
|
config = function()
|
||||||
vim.g.tokyonight_style = "night"
|
-- vim.g.tokyonight_style = "night"
|
||||||
vim.g.tokyonight_italic_functions = true
|
vim.g.tokyonight_italic_functions = true
|
||||||
vim.g.tokyonight_sidebars = { "nvimtree", "qf", "vista_kind", "terminal", "packer" }
|
vim.g.tokyonight_sidebars = { "nvimtree", "qf", "vista_kind", "terminal", "packer" }
|
||||||
vim.cmd [[
|
vim.cmd [[
|
||||||
|
@ -105,9 +105,11 @@ return require('packer').startup({function()
|
||||||
}
|
}
|
||||||
use { -- rust-tools: make nvim a better rust environment
|
use { -- rust-tools: make nvim a better rust environment
|
||||||
'simrat39/rust-tools.nvim',
|
'simrat39/rust-tools.nvim',
|
||||||
|
requires = {
|
||||||
|
'mattn/webapi-vim', -- allow :RustPlay
|
||||||
|
},
|
||||||
config = function ()
|
config = function ()
|
||||||
local rt = require("rust-tools")
|
local rt = require("rust-tools")
|
||||||
|
|
||||||
rt.setup({
|
rt.setup({
|
||||||
server = {
|
server = {
|
||||||
on_attach = function(_, bufnr)
|
on_attach = function(_, bufnr)
|
||||||
|
@ -446,6 +448,12 @@ return require('packer').startup({function()
|
||||||
require("which-key").setup()
|
require("which-key").setup()
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
use { -- marks.nvim: Show marks in sign column
|
||||||
|
'chentoast/marks.nvim',
|
||||||
|
config = function()
|
||||||
|
require('marks').setup()
|
||||||
|
end
|
||||||
|
}
|
||||||
use { -- rhysd: clever-split: split calculation based on pane dimensions - CS or CleverSplit
|
use { -- rhysd: clever-split: split calculation based on pane dimensions - CS or CleverSplit
|
||||||
'rhysd/clever-split.vim',
|
'rhysd/clever-split.vim',
|
||||||
config = function()
|
config = function()
|
||||||
|
|
Loading…
Add table
Reference in a new issue