update
This commit is contained in:
parent
44c2cd9bbc
commit
a0b8181590
6 changed files with 76 additions and 21 deletions
51
flake.lock
generated
51
flake.lock
generated
|
|
@ -38,22 +38,6 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"coc-nvim": {
|
|
||||||
"flake": false,
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1677728877,
|
|
||||||
"narHash": "sha256-Btj7crJo0zk8/uF/RXtbGOiD3fQxzxKwmK+mMhf2s0I=",
|
|
||||||
"owner": "neoclide",
|
|
||||||
"repo": "coc.nvim",
|
|
||||||
"rev": "b28b8dc4278f0c68f14b74609d73169c88c97ec4",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "neoclide",
|
|
||||||
"repo": "coc.nvim",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"darwin": {
|
"darwin": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
|
@ -376,6 +360,38 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"notice-nvim": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1677882849,
|
||||||
|
"narHash": "sha256-3XQklNVwwzkrQtaKw8U8iXnNcDMiuEvXtceE2ACY6wc=",
|
||||||
|
"owner": "folke",
|
||||||
|
"repo": "noice.nvim",
|
||||||
|
"rev": "c22651651da01239fc4afac4cdb7261797d5f02e",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "folke",
|
||||||
|
"repo": "noice.nvim",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notify-nvim": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1677922748,
|
||||||
|
"narHash": "sha256-3E9FN+dAKswzLTX6PYJIj30MWxd3estsZORBEf2Csn0=",
|
||||||
|
"owner": "rcarriga",
|
||||||
|
"repo": "nvim-notify",
|
||||||
|
"rev": "281e4d793c550c866bea3fb85d39de1f0188fb50",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "rcarriga",
|
||||||
|
"repo": "nvim-notify",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"octoprint-spoolmanager": {
|
"octoprint-spoolmanager": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
|
|
@ -466,7 +482,6 @@
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"agenix": "agenix",
|
"agenix": "agenix",
|
||||||
"agkozak-zsh-prompt": "agkozak-zsh-prompt",
|
"agkozak-zsh-prompt": "agkozak-zsh-prompt",
|
||||||
"coc-nvim": "coc-nvim",
|
|
||||||
"darwin": "darwin_2",
|
"darwin": "darwin_2",
|
||||||
"emacs-overlay": "emacs-overlay",
|
"emacs-overlay": "emacs-overlay",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
|
|
@ -478,6 +493,8 @@
|
||||||
"nixpkgs-darwin": "nixpkgs-darwin",
|
"nixpkgs-darwin": "nixpkgs-darwin",
|
||||||
"nixpkgs-master": "nixpkgs-master",
|
"nixpkgs-master": "nixpkgs-master",
|
||||||
"nnn-vim": "nnn-vim",
|
"nnn-vim": "nnn-vim",
|
||||||
|
"notice-nvim": "notice-nvim",
|
||||||
|
"notify-nvim": "notify-nvim",
|
||||||
"octoprint-spoolmanager": "octoprint-spoolmanager",
|
"octoprint-spoolmanager": "octoprint-spoolmanager",
|
||||||
"octoprint-telegram": "octoprint-telegram",
|
"octoprint-telegram": "octoprint-telegram",
|
||||||
"pandoc-latex-template": "pandoc-latex-template",
|
"pandoc-latex-template": "pandoc-latex-template",
|
||||||
|
|
|
||||||
|
|
@ -32,8 +32,10 @@
|
||||||
## vim
|
## vim
|
||||||
nnn-vim.url = "github:mcchrish/nnn.vim";
|
nnn-vim.url = "github:mcchrish/nnn.vim";
|
||||||
nnn-vim.flake = false;
|
nnn-vim.flake = false;
|
||||||
coc-nvim.url = "github:neoclide/coc.nvim";
|
notify-nvim.url = "github:rcarriga/nvim-notify";
|
||||||
coc-nvim.flake = false;
|
notify-nvim.flake = false;
|
||||||
|
notice-nvim.url = "github:folke/noice.nvim";
|
||||||
|
notice-nvim.flake = false;
|
||||||
|
|
||||||
## zsh
|
## zsh
|
||||||
zsh-completions.url = "github:zsh-users/zsh-completions";
|
zsh-completions.url = "github:zsh-users/zsh-completions";
|
||||||
|
|
|
||||||
|
|
@ -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
|
-- Use CTRL-S for selections ranges
|
||||||
-- Requires 'textDocument/selectionRange' support of language server
|
-- Requires 'textDocument/selectionRange' support of language server
|
||||||
keyset("n", "<C-s>", "<Plug>(coc-range-select)", {silent = true})
|
keyset("n", "<C-r>", "<Plug>(coc-range-select)", {silent = true})
|
||||||
keyset("x", "<C-s>", "<Plug>(coc-range-select)", {silent = true})
|
keyset("x", "<C-r>", "<Plug>(coc-range-select)", {silent = true})
|
||||||
|
|
||||||
|
|
||||||
-- Add `:Format` command to format current buffer
|
-- Add `:Format` command to format current buffer
|
||||||
|
|
|
||||||
18
hm-imports/nvim/config/lua/plugin/notice.lua
Normal file
18
hm-imports/nvim/config/lua/plugin/notice.lua
Normal 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
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
@ -11,6 +11,7 @@ require('plugin.nnn')
|
||||||
require('plugin.rainbow')
|
require('plugin.rainbow')
|
||||||
require('plugin.terminal')
|
require('plugin.terminal')
|
||||||
require('plugin.project')
|
require('plugin.project')
|
||||||
|
require('plugin.notice')
|
||||||
require('plugin.telescope')
|
require('plugin.telescope')
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,16 @@
|
||||||
version = "1.0.0";
|
version = "1.0.0";
|
||||||
src = inputs.nnn-vim;
|
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 {
|
#coc-nvim = pkgs.vimUtils.buildVimPlugin {
|
||||||
# name = "coc-nvim";
|
# name = "coc-nvim";
|
||||||
# src = inputs.coc-nvim;
|
# src = inputs.coc-nvim;
|
||||||
|
|
@ -74,6 +84,13 @@
|
||||||
ultisnips
|
ultisnips
|
||||||
#dart-vim
|
#dart-vim
|
||||||
|
|
||||||
|
nvim-treesitter
|
||||||
|
notify-nvim
|
||||||
|
notice-nvim
|
||||||
|
nui-nvim
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
plenary-nvim
|
plenary-nvim
|
||||||
telescope-nvim
|
telescope-nvim
|
||||||
project-nvim
|
project-nvim
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue