Added statusline to nvim

This commit is contained in:
_N0x 2022-02-28 07:22:28 +01:00
parent 8fd16eda7c
commit df51437af2
5 changed files with 15 additions and 1 deletions

View File

@ -8,3 +8,4 @@ require "user.telescope"
require "user.treesitter" require "user.treesitter"
require "user.nvim-tree" require "user.nvim-tree"
require "user.bufferline" require "user.bufferline"
require "user.statusline"

View File

@ -9,7 +9,7 @@ local options = {
ignorecase = true, -- ignore case in search patterns ignorecase = true, -- ignore case in search patterns
mouse = "a", -- allow the mouse to be used in neovim mouse = "a", -- allow the mouse to be used in neovim
pumheight = 10, -- pop up menu height pumheight = 10, -- pop up menu height
showmode = true, -- we don't need to see things like -- INSERT -- anymore showmode = false, -- we don't need to see things like -- INSERT -- anymore
showtabline = 2, -- always show tabs showtabline = 2, -- always show tabs
smartcase = true, -- smart case smartcase = true, -- smart case
smartindent = true, -- make indenting smarter again smartindent = true, -- make indenting smarter again

View File

@ -73,6 +73,11 @@ return packer.startup(function(use)
run = ":TSUpdate", run = ":TSUpdate",
} }
use {
'nvim-lualine/lualine.nvim',
requires = { 'kyazdani42/nvim-web-devicons', opt = true }
}
-- nvim-tree -- nvim-tree
use { use {
'kyazdani42/nvim-tree.lua', 'kyazdani42/nvim-tree.lua',

View File

@ -0,0 +1,3 @@
require('lualine').setup {
options = { theme = 'nord'}
}

View File

@ -109,6 +109,11 @@ _G.packer_plugins = {
path = "/home/n0x/.local/share/nvim/site/pack/packer/start/friendly-snippets", path = "/home/n0x/.local/share/nvim/site/pack/packer/start/friendly-snippets",
url = "https://github.com/rafamadriz/friendly-snippets" url = "https://github.com/rafamadriz/friendly-snippets"
}, },
["lualine.nvim"] = {
loaded = true,
path = "/home/n0x/.local/share/nvim/site/pack/packer/start/lualine.nvim",
url = "https://github.com/nvim-lualine/lualine.nvim"
},
["nord.nvim"] = { ["nord.nvim"] = {
loaded = true, loaded = true,
path = "/home/n0x/.local/share/nvim/site/pack/packer/start/nord.nvim", path = "/home/n0x/.local/share/nvim/site/pack/packer/start/nord.nvim",