mirror of
https://github.com/materusPL/nixos-config
synced 2026-04-19 03:17:21 +02:00
Compare commits
3 Commits
7111005253
...
bf522e0b25
| Author | SHA1 | Date | |
|---|---|---|---|
| bf522e0b25 | |||
| 6db3e9995c | |||
| a0af6e0844 |
@ -1,4 +1,8 @@
|
|||||||
vim.wo.number = true
|
vim.opt.number = true
|
||||||
|
vim.opt.expandtab = true
|
||||||
|
vim.opt.shiftwidth = 2
|
||||||
|
vim.opt.softtabstop = 2
|
||||||
|
vim.opt.tabstop = 2
|
||||||
vim.opt.clipboard:append { 'unnamed', 'unnamedplus' }
|
vim.opt.clipboard:append { 'unnamed', 'unnamedplus' }
|
||||||
|
|
||||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||||
@ -14,7 +18,7 @@ if vim.fn.executable("git") == 1 then
|
|||||||
})
|
})
|
||||||
end
|
end
|
||||||
vim.opt.rtp:prepend(lazypath)
|
vim.opt.rtp:prepend(lazypath)
|
||||||
|
|
||||||
local opts = {}
|
local opts = {}
|
||||||
local plugins = {
|
local plugins = {
|
||||||
{
|
{
|
||||||
@ -29,7 +33,21 @@ if vim.fn.executable("git") == 1 then
|
|||||||
dependencies = {"nvim-tree/nvim-web-devicons","lewis6991/gitsigns.nvim"}
|
dependencies = {"nvim-tree/nvim-web-devicons","lewis6991/gitsigns.nvim"}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
'nvim-telescope/telescope.nvim', version = '*',
|
||||||
|
dependencies = {
|
||||||
|
'nvim-lua/plenary.nvim',
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
'nvim-treesitter/nvim-treesitter',
|
||||||
|
lazy = false,
|
||||||
|
build = ':TSUpdate'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'lambdalisue/vim-suda'
|
||||||
|
},
|
||||||
--[[
|
--[[
|
||||||
{
|
{
|
||||||
"kevinhwang91/nvim-ufo",
|
"kevinhwang91/nvim-ufo",
|
||||||
@ -39,5 +57,14 @@ if vim.fn.executable("git") == 1 then
|
|||||||
}
|
}
|
||||||
|
|
||||||
require("lazy").setup(plugins, opts)
|
require("lazy").setup(plugins, opts)
|
||||||
|
if vim.fn.executable("tree-sitter") == 1 then
|
||||||
|
require('nvim-treesitter').setup {
|
||||||
|
-- Directory to install parsers and queries to (prepended to `runtimepath` to have priority)
|
||||||
|
install_dir = vim.fn.stdpath('data') .. '/site',
|
||||||
|
highlight = {enable = true},
|
||||||
|
indent = { enable = true},
|
||||||
|
}
|
||||||
|
require('nvim-treesitter').install { 'lua' }
|
||||||
|
end
|
||||||
vim.cmd [[colorscheme dracula]]
|
vim.cmd [[colorscheme dracula]]
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user