netrw and colorscheme
This commit is contained in:
parent
8bf98bb84c
commit
f97605d15d
1 changed files with 15 additions and 0 deletions
|
@ -12,6 +12,7 @@ require('packer').startup(function(use)
|
||||||
use 'wbthomason/packer.nvim'
|
use 'wbthomason/packer.nvim'
|
||||||
use 'neovim/nvim-lspconfig'
|
use 'neovim/nvim-lspconfig'
|
||||||
use 'nvim-treesitter/nvim-treesitter'
|
use 'nvim-treesitter/nvim-treesitter'
|
||||||
|
use { "catppuccin/nvim", as = "catppuccin" }
|
||||||
use {
|
use {
|
||||||
'hrsh7th/nvim-cmp',
|
'hrsh7th/nvim-cmp',
|
||||||
requires = { 'hrsh7th/cmp-nvim-lsp', 'hrsh7th/cmp-buffer', 'hrsh7th/cmp-cmdline', 'hrsh7th/cmp-path', 'hrsh7th/cmp-nvim-lua', 'onsails/lspkind.nvim', 'L3MON4D3/LuaSnip', 'saadparwaiz1/cmp_luasnip' }
|
requires = { 'hrsh7th/cmp-nvim-lsp', 'hrsh7th/cmp-buffer', 'hrsh7th/cmp-cmdline', 'hrsh7th/cmp-path', 'hrsh7th/cmp-nvim-lua', 'onsails/lspkind.nvim', 'L3MON4D3/LuaSnip', 'saadparwaiz1/cmp_luasnip' }
|
||||||
|
@ -31,11 +32,25 @@ if is_bootstrap then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- colorscheme
|
||||||
|
|
||||||
|
require("catppuccin").setup({
|
||||||
|
flavour = "frappe",
|
||||||
|
transparent_background = true,
|
||||||
|
})
|
||||||
|
|
||||||
|
vim.cmd.colorscheme 'catppuccin'
|
||||||
|
|
||||||
-- Some basic settings
|
-- Some basic settings
|
||||||
vim.wo.number = true
|
vim.wo.number = true
|
||||||
vim.wo.relativenumber = true
|
vim.wo.relativenumber = true
|
||||||
vim.o.pumheight = 20
|
vim.o.pumheight = 20
|
||||||
|
|
||||||
|
-- Netrw
|
||||||
|
vim.g.netrw_banner = 0
|
||||||
|
vim.g.netrw_liststyle = 3
|
||||||
|
|
||||||
|
|
||||||
-- Additional keybinds if lsp running
|
-- Additional keybinds if lsp running
|
||||||
local on_attach = function(client, bufnr)
|
local on_attach = function(client, bufnr)
|
||||||
local bufopts = { noremap=true, silent=true, buffer=bufnr }
|
local bufopts = { noremap=true, silent=true, buffer=bufnr }
|
||||||
|
|
Loading…
Reference in a new issue