1
0
Fork 0

Initial nvim config, derived from kickstart.nvim.

This commit is contained in:
Arthur Khachaturov 2023-12-01 08:09:12 +03:00
parent 09be919865
commit 39536754b3
38 changed files with 479 additions and 338 deletions

View file

@ -0,0 +1,8 @@
return {
-- Add indentation guides even on blank lines
'lukas-reineke/indent-blankline.nvim',
-- Enable `lukas-reineke/indent-blankline.nvim`
-- See `:help ibl`
main = 'ibl',
opts = {},
}

View file

@ -0,0 +1,11 @@
return {
'tpope/vim-fugitive',
'tpope/vim-rhubarb',
'tpope/vim-sleuth',
'nvim-tree/nvim-web-devicons',
"nvim-tree/nvim-tree.lua",
'nvim-lualine/lualine.nvim',
{ 'numToStr/Comment.nvim', opts = {} },
{ 'ethanholz/nvim-lastplace', config = {} },
{ "akinsho/bufferline.nvim", config = {} },
}

View file

@ -0,0 +1,14 @@
return {
'hrsh7th/nvim-cmp',
dependencies = {
-- Snippet Engine & its associated nvim-cmp source
'L3MON4D3/LuaSnip',
'saadparwaiz1/cmp_luasnip',
-- Adds LSP completion capabilities
'hrsh7th/cmp-nvim-lsp',
-- Adds a number of user-friendly snippets
'rafamadriz/friendly-snippets',
},
}

View file

@ -0,0 +1,16 @@
return {
-- LSP Configuration & Plugins
'neovim/nvim-lspconfig',
dependencies = {
-- Automatically install LSPs to stdpath for neovim
'williamboman/mason.nvim',
'williamboman/mason-lspconfig.nvim',
-- Useful status updates for LSP
-- NOTE: `opts = {}` is the same as calling `require('fidget').setup({})`
{ 'j-hui/fidget.nvim', opts = {} },
-- Additional lua configuration, makes nvim stuff amazing!
'folke/neodev.nvim',
},
}

View file

@ -0,0 +1,8 @@
return {
-- Highlight, edit, and navigate code
'nvim-treesitter/nvim-treesitter',
dependencies = {
'nvim-treesitter/nvim-treesitter-textobjects',
},
build = ':TSUpdate',
}

View file

@ -0,0 +1,6 @@
return {
'navarasu/onedark.nvim',
config = function()
vim.cmd.colorscheme 'onedark'
end,
}

View file

@ -0,0 +1,11 @@
return {
'nvim-telescope/telescope.nvim',
branch = '0.1.x',
dependencies = {
'nvim-lua/plenary.nvim',
{
'nvim-telescope/telescope-fzf-native.nvim',
build = 'make',
},
},
}