This commit is contained in:
Philipp Hochkamp 2023-03-06 21:00:37 +01:00
parent 44c2cd9bbc
commit a0b8181590
6 changed files with 76 additions and 21 deletions

View file

@ -146,8 +146,8 @@ keyset("v", "<C-b>", 'coc#float#has_scroll() ? coc#float#scroll(0) : "<C-b>"', o
-- Use CTRL-S for selections ranges
-- Requires 'textDocument/selectionRange' support of language server
keyset("n", "<C-s>", "<Plug>(coc-range-select)", {silent = true})
keyset("x", "<C-s>", "<Plug>(coc-range-select)", {silent = true})
keyset("n", "<C-r>", "<Plug>(coc-range-select)", {silent = true})
keyset("x", "<C-r>", "<Plug>(coc-range-select)", {silent = true})
-- Add `:Format` command to format current buffer

View file

@ -0,0 +1,18 @@
require("noice").setup({
lsp = {
-- override markdown rendering so that **cmp** and other plugins use **Treesitter**
override = {
["vim.lsp.util.convert_input_to_markdown_lines"] = true,
["vim.lsp.util.stylize_markdown"] = true,
["cmp.entry.get_documentation"] = true,
},
},
-- you can enable a preset for easier configuration
presets = {
bottom_search = true, -- use a classic bottom cmdline for search
command_palette = true, -- position the cmdline and popupmenu together
long_message_to_split = true, -- long messages will be sent to a split
inc_rename = false, -- enables an input dialog for inc-rename.nvim
lsp_doc_border = false, -- add a border to hover docs and signature help
},
})

View file

@ -11,6 +11,7 @@ require('plugin.nnn')
require('plugin.rainbow')
require('plugin.terminal')
require('plugin.project')
require('plugin.notice')
require('plugin.telescope')

View file

@ -38,6 +38,16 @@
version = "1.0.0";
src = inputs.nnn-vim;
};
notify-nvim = pkgs.vimUtils.buildVimPlugin {
pname = "notify-nvim";
version = "1.0.0";
src = inputs.notify-nvim;
};
notice-nvim = pkgs.vimUtils.buildVimPlugin {
pname = "notice-nvim";
version = "1.0.0";
src = inputs.notice-nvim;
};
#coc-nvim = pkgs.vimUtils.buildVimPlugin {
# name = "coc-nvim";
# src = inputs.coc-nvim;
@ -74,6 +84,13 @@
ultisnips
#dart-vim
nvim-treesitter
notify-nvim
notice-nvim
nui-nvim
plenary-nvim
telescope-nvim
project-nvim