Modernizied instatiation thingy

This commit is contained in:
CRy386i 2026-05-02 17:17:04 +02:00
parent 6f55a66333
commit daa989d24a
4 changed files with 11 additions and 11 deletions

View file

@ -2,7 +2,7 @@ return { 'ej-shafran/compile-mode.nvim',
version = '^5.13.0',
dependencies = {
'nvim-lua/plenary.nvim', lazy = true,
'm00qek/baleia.nvim',
'm00qek/baleia.nvim'
},
config = function()
---@type CompileModeOpts

View file

@ -3,6 +3,7 @@ return {
dependencies = {
'neovim/nvim-lspconfig',
'hrsh7th/cmp-nvim-lsp',
'petertriho/cmp-git',
'hrsh7th/cmp-buffer',
'hrsh7th/cmp-path',
'hrsh7th/cmp-cmdline',
@ -48,7 +49,7 @@ return {
-- Set configuration for specific filetype.
cmp.setup.filetype('gitcommit', {
sources = cmp.config.sources({
{ name = 'git' }, -- You can specify the `git` source if [you were installed it](https://github.com/petertriho/cmp-git).
{ name = 'git' },
}, {
{ name = 'buffer' },
})

View file

@ -1,9 +1,9 @@
return { "nvim-treesitter/nvim-treesitter",
return {
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
config = function()
require("nvim-treesitter.configs").setup {
main = 'nvim-treesitter.configs',
opts = {
ensure_installed = { 'c', 'cpp', 'lua' },
highlight = { enable = true, }
}
end
}

View file

@ -1,6 +1,6 @@
return {
'nvim-telescope/telescope.nvim', tag = '0.1.8',
dependencies = { 'nvim-lua/plenary.nvim', lazy = true,
dependencies = { 'nvim-lua/plenary.nvim', lazy = true, 'nvim-tree/nvim-web-devicons',
{
'nvim-telescope/telescope-fzf-native.nvim',
build = (build_cmd ~= 'cmake') and 'make'
@ -25,7 +25,6 @@ return {
}
telescope.load_extension('fzf')
-- TODO: use keys = { }
local builtin = require('telescope.builtin')
vim.keymap.set('n', '<C-p>', builtin.find_files, {})
vim.keymap.set('n', '<leader>ft', builtin.treesitter, {})