emacs, neovim & fish

This commit is contained in:
speckitor
2026-06-11 19:41:26 +07:00
parent 216c9fdec4
commit 6d3175f2cf
11 changed files with 157 additions and 172 deletions
+31 -5
View File
@@ -1,13 +1,39 @@
vim.pack.add({
"https://github.com/nvim-mini/mini.nvim",
"https://github.com/neovim/nvim-lspconfig",
"https://github.com/nvim-mini/mini.nvim",
"https://github.com/neovim/nvim-lspconfig",
"https://github.com/rose-pine/neovim.git",
{ src = "https://github.com/saghen/blink.cmp.git", version = vim.version.range("^1") },
"https://github.com/nvim-treesitter/nvim-treesitter.git",
})
require("mini.surround").setup()
require("mini.files").setup()
require("mini.pick").setup()
vim.lsp.enable("clangd")
vim.lsp.config("clangd", {
cmd = { "clangd", "--header-insertion=never"}
require("rose-pine").setup()
vim.cmd("colorscheme rose-pine")
require('blink.cmp').setup({
keymap = { preset = 'default' },
signature = { enabled = true },
appearance = {
use_nvim_cmp_as_default = true,
nerd_font_variant = 'mono'
},
completion = {
documentation = { auto_show = true, }
},
sources = {
default = { 'lsp', 'path', 'snippets', 'buffer' },
},
})
require('nvim-treesitter').setup({
ensure_installed = {
"lua", "c", "zig", "python", "rust", "c3"
},
highlight = { enable = true }
})