Added statusline to nvim
This commit is contained in:
parent
8fd16eda7c
commit
df51437af2
@ -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"
|
||||||
|
@ -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
|
||||||
|
@ -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',
|
||||||
|
3
nvim/.config/nvim/lua/user/statusline.lua
Normal file
3
nvim/.config/nvim/lua/user/statusline.lua
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
require('lualine').setup {
|
||||||
|
options = { theme = 'nord'}
|
||||||
|
}
|
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user