Added "compile-mode"
This commit is contained in:
parent
117f2a86a6
commit
4e777ef670
1 changed files with 17 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ require('lazy').setup({
|
|||
lazy = false,
|
||||
priority = 1000,
|
||||
config = function()
|
||||
vim.opt.termguicolors = false
|
||||
vim.opt.termguicolors = true -- If we want ANSI shit in the "compile mode" for colorize, it must be stay "true"
|
||||
vim.opt.background = 'dark'
|
||||
vim.g.gruvbox_italic = true
|
||||
vim.cmd([[colorscheme gruvbox]])
|
||||
|
|
@ -30,6 +30,22 @@ require('lazy').setup({
|
|||
-- "folke/tokyonight.nvim",
|
||||
-- lazy = true
|
||||
-- },
|
||||
{ 'ej-shafran/compile-mode.nvim',
|
||||
version = '^5.13.0',
|
||||
dependencies = {
|
||||
'nvim-lua/plenary.nvim',
|
||||
'm00qek/baleia.nvim',
|
||||
},
|
||||
config = function()
|
||||
---@type CompileModeOpts
|
||||
vim.g.compile_mode = {
|
||||
default_command = 'cmake --build build',
|
||||
input_word_completion = true,
|
||||
baleia_setup = true,
|
||||
bang_expansion = true,
|
||||
}
|
||||
end,
|
||||
},
|
||||
{ 'nvim-telescope/telescope-fzf-native.nvim',
|
||||
build = 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build'
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue