Things are coming.
progress is being made hopefully this will become workable soon
This commit is contained in:
parent
46a04081b7
commit
92107d2c3d
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
# This gitignore is going to be quite big
|
||||||
|
# It will exclude EVERY plugin that is pulled in by packer
|
||||||
|
# that way git doesn't try to add and commit them
|
||||||
|
plugin/packer_compiled.lua
|
||||||
29
after/plugin/lualine.lua
Normal file
29
after/plugin/lualine.lua
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
require('lualine').setup {
|
||||||
|
options = {
|
||||||
|
icons_enabled = true,
|
||||||
|
theme = 'gruvbox',
|
||||||
|
component_separators = { left = '', right = '' },
|
||||||
|
section_separators = { left = '', right = '' },
|
||||||
|
disabled_filetypes = {},
|
||||||
|
always_divide_middle = true,
|
||||||
|
globalstatus = true,
|
||||||
|
},
|
||||||
|
sections = {
|
||||||
|
lualine_a = {'mode'},
|
||||||
|
lualine_b = {'branch', 'diff', 'diagnostics'},
|
||||||
|
lualine_c = {'filename'},
|
||||||
|
lualine_x = {'encoding', 'fileformat', 'filetype'},
|
||||||
|
lualine_y = {'progress'},
|
||||||
|
lualine_z = {'location'}
|
||||||
|
},
|
||||||
|
inactive_sections = {
|
||||||
|
lualine_a = {},
|
||||||
|
lualine_b = {},
|
||||||
|
lualine_c = {'filename'},
|
||||||
|
lualine_x = {'location'},
|
||||||
|
lualine_y = {},
|
||||||
|
lualine_z = {}
|
||||||
|
},
|
||||||
|
tabline = {},
|
||||||
|
extensions = {}
|
||||||
|
}
|
||||||
8
init.lua
Normal file
8
init.lua
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
-- Initialisation file. NOW IN LUA
|
||||||
|
|
||||||
|
-- Grab Packer. (This should be OS agnostic)
|
||||||
|
-- But does require git to be installed TODO: add check for git
|
||||||
|
-- Inititally by @Iron-E and @khuedoan on GitHub reimplemented by me to my standards
|
||||||
|
|
||||||
|
require('sherlock5512.plugins')
|
||||||
|
require('sherlock5512.settings')
|
||||||
37
lua/sherlock5512/plugins.lua
Normal file
37
lua/sherlock5512/plugins.lua
Normal file
|
|
@ -0,0 +1,37 @@
|
||||||
|
-- this file configures my plugins
|
||||||
|
|
||||||
|
-- Grab Packer. (This should be OS agnostic)
|
||||||
|
-- But does require git to be installed TODO: add check for git
|
||||||
|
-- by @Iron-E and @khuedoan on GitHub
|
||||||
|
|
||||||
|
local fn = vim.fn
|
||||||
|
local install_path = fn.stdpath('data')..'/site/pack/packer/start/packer.nvim'
|
||||||
|
if fn.empty(fn.glob(install_path)) > 0 then
|
||||||
|
packer_bootstrap = fn.system({'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path})
|
||||||
|
vim.cmd 'packadd packer.nvim'
|
||||||
|
end
|
||||||
|
|
||||||
|
return require('packer').startup(function(use)
|
||||||
|
-- Make packer manage itself
|
||||||
|
use 'wbthomason/packer.nvim'
|
||||||
|
|
||||||
|
-- Lualine over airline for now
|
||||||
|
use {
|
||||||
|
'nvim-lualine/lualine.nvim',
|
||||||
|
requires = {'kyazdani42/nvim-web-devicons', opt = true}
|
||||||
|
}
|
||||||
|
|
||||||
|
use 'morhetz/gruvbox'
|
||||||
|
use {
|
||||||
|
'ms-jpq/chadtree',
|
||||||
|
run =
|
||||||
|
function()
|
||||||
|
_ = vim.fn.system({'python3' , '-m' , 'chadtree' , 'deps'})
|
||||||
|
vim.fn[CHADdeps](0)
|
||||||
|
end
|
||||||
|
}
|
||||||
|
|
||||||
|
if packer_bootstrap then
|
||||||
|
require('packer').sync()
|
||||||
|
end
|
||||||
|
end)
|
||||||
11
lua/sherlock5512/settings.lua
Normal file
11
lua/sherlock5512/settings.lua
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
-- General global settings for neovim
|
||||||
|
|
||||||
|
local opt = vim.opt -- basically the same as set
|
||||||
|
|
||||||
|
opt.relativenumber = true -- might make this false if I hate it after using it
|
||||||
|
opt.number = true
|
||||||
|
vim.cmd([[colorscheme gruvbox]])
|
||||||
|
|
||||||
|
opt.ignorecase = true
|
||||||
|
opt.smartcase = true
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user