docs: added license to all source files
This commit is contained in:
parent
937a56d5ef
commit
55c0f0fe9a
|
@ -1,3 +1,6 @@
|
||||||
|
-- Copyright (c) 2020-2021 hoob3rt
|
||||||
|
-- MIT license, see LICENSE for more details.
|
||||||
|
|
||||||
local utils = require('lualine.utils')
|
local utils = require('lualine.utils')
|
||||||
local highlight = require('lualine.highlight')
|
local highlight = require('lualine.highlight')
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
-- Copyright (c) 2020-2021 hoob3rt
|
||||||
|
-- MIT license, see LICENSE for more details.
|
||||||
|
|
||||||
local git_branch
|
local git_branch
|
||||||
|
|
||||||
-- os specific path separator
|
-- os specific path separator
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
-- Copyright (c) 2020-2021 hoob3rt
|
||||||
|
-- MIT license, see LICENSE for more details.
|
||||||
|
|
||||||
local function encoding()
|
local function encoding()
|
||||||
local data = [[%{strlen(&fenc)?&fenc:&enc}]]
|
local data = [[%{strlen(&fenc)?&fenc:&enc}]]
|
||||||
return data
|
return data
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
-- Copyright (c) 2020-2021 hoob3rt
|
||||||
|
-- MIT license, see LICENSE for more details.
|
||||||
|
|
||||||
local function fileformat()
|
local function fileformat()
|
||||||
local data = [[%{&ff}]]
|
local data = [[%{&ff}]]
|
||||||
return data
|
return data
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
-- Copyright (c) 2020-2021 hoob3rt
|
||||||
|
-- MIT license, see LICENSE for more details.
|
||||||
|
|
||||||
local function filename()
|
local function filename()
|
||||||
local data = [[%t %m]]
|
local data = [[%t %m]]
|
||||||
return data
|
return data
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
-- Copyright (c) 2020-2021 hoob3rt
|
||||||
|
-- MIT license, see LICENSE for more details.
|
||||||
|
|
||||||
local function filetype()
|
local function filetype()
|
||||||
local data = vim.bo.filetype
|
local data = vim.bo.filetype
|
||||||
if #data > 0 then
|
if #data > 0 then
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
-- Copyright (c) 2020-2021 hoob3rt
|
||||||
|
-- MIT license, see LICENSE for more details.
|
||||||
|
|
||||||
local function location()
|
local function location()
|
||||||
local data = [[%3l:%-2c]]
|
local data = [[%3l:%-2c]]
|
||||||
return data
|
return data
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
-- Copyright (c) 2020-2021 hoob3rt
|
||||||
|
-- MIT license, see LICENSE for more details.
|
||||||
|
|
||||||
local function mode()
|
local function mode()
|
||||||
local mode_map = {
|
local mode_map = {
|
||||||
['n'] = 'NORMAL',
|
['n'] = 'NORMAL',
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
-- Copyright (c) 2020-2021 hoob3rt
|
||||||
|
-- MIT license, see LICENSE for more details.
|
||||||
|
|
||||||
local function progress()
|
local function progress()
|
||||||
local data = [[%3P]]
|
local data = [[%3P]]
|
||||||
return data
|
return data
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
-- Copyright (c) 2020-2021 hoob3rt
|
||||||
|
-- MIT license, see LICENSE for more details.
|
||||||
|
|
||||||
local function signify()
|
local function signify()
|
||||||
if vim.fn.exists('*sy#repo#get_stats') == 0 then return '' end
|
if vim.fn.exists('*sy#repo#get_stats') == 0 then return '' end
|
||||||
local added, modified, removed = unpack(vim.fn['sy#repo#get_stats']())
|
local added, modified, removed = unpack(vim.fn['sy#repo#get_stats']())
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
-- Copyright (c) 2020-2021 hoob3rt
|
||||||
|
-- MIT license, see LICENSE for more details.
|
||||||
|
|
||||||
local function fzf_statusline()
|
local function fzf_statusline()
|
||||||
vim.cmd([[hi clear fzf1]])
|
vim.cmd([[hi clear fzf1]])
|
||||||
vim.cmd([[hi link fzf1 lualine_a_normal]])
|
vim.cmd([[hi link fzf1 lualine_a_normal]])
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
-- Copyright (c) 2020-2021 hoob3rt
|
||||||
|
-- MIT license, see LICENSE for more details.
|
||||||
|
|
||||||
local M = { }
|
local M = { }
|
||||||
local utils = require "lualine.utils"
|
local utils = require "lualine.utils"
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
-- =============================================================================
|
-- Copyright (c) 2020-2021 shadmansaleh
|
||||||
-- Filename: lua/lualine/themes/16color.lua
|
-- MIT license, see LICENSE for more details.
|
||||||
-- Author: shadman
|
|
||||||
-- Credit itchyny, jackno (lightline)
|
-- Credit itchyny, jackno (lightline)
|
||||||
-- License: MIT License
|
|
||||||
-- =============================================================================
|
|
||||||
|
|
||||||
local M = {}
|
local M = {}
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
-- =============================================================================
|
-- Copyright (c) 2020-2021 shadmansaleh
|
||||||
|
-- MIT license, see LICENSE for more details.
|
||||||
-- Genarated by lightline to lualine theme converter
|
-- Genarated by lightline to lualine theme converter
|
||||||
-- https://gist.github.com/shadmansaleh/000871c9a608a012721c6acc6d7a19b9
|
-- https://gist.github.com/shadmansaleh/000871c9a608a012721c6acc6d7a19b9
|
||||||
-- License: MIT License
|
|
||||||
-- =============================================================================
|
|
||||||
|
|
||||||
local colors = {
|
local colors = {
|
||||||
color2 = "#0f1419",
|
color2 = "#0f1419",
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
-- =============================================================================
|
-- Copyright (c) 2020-2021 shadmansaleh
|
||||||
|
-- MIT license, see LICENSE for more details.
|
||||||
-- Genarated by lightline to lualine theme converter
|
-- Genarated by lightline to lualine theme converter
|
||||||
-- https://gist.github.com/shadmansaleh/000871c9a608a012721c6acc6d7a19b9
|
-- https://gist.github.com/shadmansaleh/000871c9a608a012721c6acc6d7a19b9
|
||||||
-- License: MIT License
|
|
||||||
-- =============================================================================
|
|
||||||
|
|
||||||
local colors = {
|
local colors = {
|
||||||
color2 = "#f3f3f3",
|
color2 = "#f3f3f3",
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
-- =============================================================================
|
-- Copyright (c) 2020-2021 shadmansaleh
|
||||||
|
-- MIT license, see LICENSE for more details.
|
||||||
-- Genarated by lightline to lualine theme converter
|
-- Genarated by lightline to lualine theme converter
|
||||||
-- https://gist.github.com/shadmansaleh/000871c9a608a012721c6acc6d7a19b9
|
-- https://gist.github.com/shadmansaleh/000871c9a608a012721c6acc6d7a19b9
|
||||||
-- License: MIT License
|
|
||||||
-- =============================================================================
|
|
||||||
|
|
||||||
local colors = {
|
local colors = {
|
||||||
color2 = "#242b38",
|
color2 = "#242b38",
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
-- Copyright (c) 2020-2021 Shatur95
|
||||||
|
-- MIT license, see LICENSE for more details.
|
||||||
|
|
||||||
|
|
||||||
local codedark = {}
|
local codedark = {}
|
||||||
|
|
||||||
local colors = {
|
local colors = {
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
-- Copyright (c) 2020-2021 shadmansaleh
|
||||||
|
-- MIT license, see LICENSE for more details.
|
||||||
|
-- Credit itchyny, jackno (lightline)
|
||||||
|
|
||||||
local dracula = {}
|
local dracula = {}
|
||||||
|
|
||||||
local colors = {
|
local colors = {
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
-- Copyright (c) 2020-2021 gnuyent
|
||||||
|
-- MIT license, see LICENSE for more details.
|
||||||
|
|
||||||
local forest_night = {}
|
local forest_night = {}
|
||||||
|
|
||||||
local colors = {
|
local colors = {
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
-- Copyright (c) 2020-2021 hoob3rt
|
||||||
|
-- MIT license, see LICENSE for more details.
|
||||||
|
|
||||||
local gruvbox = {}
|
local gruvbox = {}
|
||||||
|
|
||||||
local colors = {
|
local colors = {
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
-- =============================================================================
|
-- Copyright (c) 2020-2021 shadmansaleh
|
||||||
-- Filename: lua/lualine/themes/gruvbox_material.lua
|
-- MIT license, see LICENSE for more details.
|
||||||
-- Author: shadman
|
|
||||||
-- License: MIT License
|
|
||||||
-- =============================================================================
|
|
||||||
|
|
||||||
local colors = {
|
local colors = {
|
||||||
fg1 = "#282828",
|
fg1 = "#282828",
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
-- =============================================================================
|
-- Copyright (c) 2020-2021 shadmansaleh
|
||||||
|
-- MIT license, see LICENSE for more details.
|
||||||
-- Genarated by lightline to lualine theme converter
|
-- Genarated by lightline to lualine theme converter
|
||||||
-- https://gist.github.com/shadmansaleh/000871c9a608a012721c6acc6d7a19b9
|
-- https://gist.github.com/shadmansaleh/000871c9a608a012721c6acc6d7a19b9
|
||||||
-- License: MIT License
|
|
||||||
-- =============================================================================
|
|
||||||
|
|
||||||
local colors = {
|
local colors = {
|
||||||
color2 = "#161821",
|
color2 = "#161821",
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
-- =============================================================================
|
-- Copyright (c) 2020-2021 shadmansaleh
|
||||||
|
-- MIT license, see LICENSE for more details.
|
||||||
-- Genarated by lightline to lualine theme converter
|
-- Genarated by lightline to lualine theme converter
|
||||||
-- https://gist.github.com/shadmansaleh/000871c9a608a012721c6acc6d7a19b9
|
-- https://gist.github.com/shadmansaleh/000871c9a608a012721c6acc6d7a19b9
|
||||||
-- License: MIT License
|
|
||||||
-- =============================================================================
|
|
||||||
|
|
||||||
local colors = {
|
local colors = {
|
||||||
color5 = "#668e3d",
|
color5 = "#668e3d",
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
-- =============================================================================
|
-- Copyright (c) 2020-2021 shadmansaleh
|
||||||
|
-- MIT license, see LICENSE for more details.
|
||||||
-- Genarated by lightline to lualine theme converter
|
-- Genarated by lightline to lualine theme converter
|
||||||
-- https://gist.github.com/shadmansaleh/000871c9a608a012721c6acc6d7a19b9
|
-- https://gist.github.com/shadmansaleh/000871c9a608a012721c6acc6d7a19b9
|
||||||
-- License: MIT License
|
|
||||||
-- =============================================================================
|
|
||||||
|
|
||||||
local colors = {
|
local colors = {
|
||||||
color2 = "#30302c",
|
color2 = "#30302c",
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
-- =============================================================================
|
-- Copyright (c) 2020-2021 shadmansaleh
|
||||||
-- Filename: lua/lightline/themes/material.lua
|
-- MIT license, see LICENSE for more details.
|
||||||
-- Author: shadman
|
|
||||||
-- Credit: Lokesh Krishna(lightline)
|
-- Credit: Lokesh Krishna(lightline)
|
||||||
-- License: MIT License
|
|
||||||
-- =============================================================================
|
|
||||||
|
|
||||||
local M = {}
|
local M = {}
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
-- =============================================================================
|
-- Copyright (c) 2020-2021 shadmansaleh
|
||||||
-- Filename: lua/lualine/themes/molokai.lua
|
-- MIT license, see LICENSE for more details.
|
||||||
-- Author: shadman
|
|
||||||
-- Credit: challsted(lightline)
|
-- Credit: challsted(lightline)
|
||||||
-- License: MIT License
|
|
||||||
-- =============================================================================
|
|
||||||
|
|
||||||
local molokai = {}
|
local molokai = {}
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
-- =============================================================================
|
-- Copyright (c) 2020-2021 shadmansaleh
|
||||||
-- lightline to lualine theme converter
|
-- MIT license, see LICENSE for more details.
|
||||||
-- Author: shadman
|
|
||||||
-- License: MIT License
|
|
||||||
-- =============================================================================
|
|
||||||
|
|
||||||
local colors = {
|
local colors = {
|
||||||
color3 = "#2c3043",
|
color3 = "#2c3043",
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
-- Copyright (c) 2020-2021 shadmansaleh
|
||||||
|
-- MIT license, see LICENSE for more details.
|
||||||
|
|
||||||
local nord = {}
|
local nord = {}
|
||||||
|
|
||||||
local colors = {
|
local colors = {
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
-- =============================================================================
|
-- Copyright (c) 2020-2021 shadmansaleh
|
||||||
|
-- MIT license, see LICENSE for more details.
|
||||||
-- Genarated by lightline to lualine theme converter
|
-- Genarated by lightline to lualine theme converter
|
||||||
-- https://gist.github.com/shadmansaleh/000871c9a608a012721c6acc6d7a19b9
|
-- https://gist.github.com/shadmansaleh/000871c9a608a012721c6acc6d7a19b9
|
||||||
-- License: MIT License
|
|
||||||
-- =============================================================================
|
|
||||||
|
|
||||||
local colors = {
|
local colors = {
|
||||||
color0 = "#ffffff",
|
color0 = "#ffffff",
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
-- =============================================================================
|
-- Copyright (c) 2020-2021 shadmansaleh
|
||||||
-- Filename: lua/lualine/themes/onedark.lua
|
-- MIT license, see LICENSE for more details.
|
||||||
-- Author: shadman
|
|
||||||
-- Credit: Zoltan Dalmadi(lightline)
|
-- Credit: Zoltan Dalmadi(lightline)
|
||||||
-- License: MIT License
|
|
||||||
-- =============================================================================
|
|
||||||
|
|
||||||
local M = {}
|
local M = {}
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
-- =============================================================================
|
-- Copyright (c) 2020-2021 shadmansaleh
|
||||||
|
-- MIT license, see LICENSE for more details.
|
||||||
-- Genarated by lightline to lualine theme converter
|
-- Genarated by lightline to lualine theme converter
|
||||||
-- https://gist.github.com/shadmansaleh/000871c9a608a012721c6acc6d7a19b9
|
-- https://gist.github.com/shadmansaleh/000871c9a608a012721c6acc6d7a19b9
|
||||||
-- License: MIT License
|
|
||||||
-- =============================================================================
|
|
||||||
|
|
||||||
local colors = {
|
local colors = {
|
||||||
color0 = "#282c34",
|
color0 = "#282c34",
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
-- =============================================================================
|
-- Copyright (c) 2020-2021 shadmansaleh
|
||||||
-- Filename: lua/lualine/themes/onelight.lua
|
-- MIT license, see LICENSE for more details.
|
||||||
-- Author: shadman
|
|
||||||
-- Credit: Zoltan Dalmadi(lightline)
|
-- Credit: Zoltan Dalmadi(lightline)
|
||||||
-- License: MIT License
|
|
||||||
-- =============================================================================
|
|
||||||
|
|
||||||
local M = {}
|
local M = {}
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
-- =============================================================================
|
-- Copyright (c) 2020-2021 shadmansaleh
|
||||||
-- Filename: lua/lualine/themes/papercolor.lua
|
-- MIT license, see LICENSE for more details.
|
||||||
-- Author: shadman
|
|
||||||
-- Credit: itchyny(lightline)
|
-- Credit: itchyny(lightline)
|
||||||
-- License: MIT License
|
|
||||||
-- =============================================================================
|
|
||||||
|
|
||||||
local background = vim.o.background
|
local background = vim.o.background
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
-- =============================================================================
|
-- Copyright (c) 2020-2021 shadmansaleh
|
||||||
-- Filename: lua/lightline/themes/PaperColor_dark.lua
|
-- MIT license, see LICENSE for more details.
|
||||||
-- Author: shadman
|
|
||||||
-- Credit: TKNGUE(lightline)
|
-- Credit: TKNGUE(lightline)
|
||||||
-- License: MIT License
|
|
||||||
-- =============================================================================
|
|
||||||
|
|
||||||
local M = {}
|
local M = {}
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
-- =============================================================================
|
-- Copyright (c) 2020-2021 shadmansaleh
|
||||||
-- Filename: lua/lualine/themes/PaperColor_light.lua
|
-- MIT license, see LICENSE for more details.
|
||||||
-- Author: shadman
|
|
||||||
-- Credit: TKNGUE(lightline)
|
-- Credit: TKNGUE(lightline)
|
||||||
-- License: MIT License
|
|
||||||
-- =============================================================================
|
|
||||||
|
|
||||||
local M = {}
|
local M = {}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
-- Copyright (c) 2020-2021 shadmansaleh
|
||||||
|
-- MIT license, see LICENSE for more details.
|
||||||
|
|
||||||
local powerline = { }
|
local powerline = { }
|
||||||
|
|
||||||
local Colors = {
|
local Colors = {
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
-- =============================================================================
|
-- Copyright (c) 2020-2021 shadmansaleh
|
||||||
|
-- MIT license, see LICENSE for more details.
|
||||||
-- Genarated by lightline to lualine theme converter
|
-- Genarated by lightline to lualine theme converter
|
||||||
-- https://gist.github.com/shadmansaleh/000871c9a608a012721c6acc6d7a19b9
|
-- https://gist.github.com/shadmansaleh/000871c9a608a012721c6acc6d7a19b9
|
||||||
-- License: MIT License
|
|
||||||
-- =============================================================================
|
|
||||||
|
|
||||||
local colors = {
|
local colors = {
|
||||||
color5 = "#d7afaf",
|
color5 = "#d7afaf",
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
-- =============================================================================
|
-- Copyright (c) 2020-2021 shadmansaleh
|
||||||
-- Filename: lua/lualine/themes/solarized.lua
|
-- MIT license, see LICENSE for more details.
|
||||||
-- Author: shadman
|
|
||||||
-- Credit: itchyny(lightline)
|
-- Credit: itchyny(lightline)
|
||||||
-- License: MIT License
|
-- License: MIT License
|
||||||
-- =============================================================================
|
|
||||||
|
|
||||||
local background = vim.o.background
|
local background = vim.o.background
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
-- =============================================================================
|
-- Copyright (c) 2020-2021 shadmansaleh
|
||||||
-- Filename: lua/lualine/themes/solarized_dark.lua
|
-- MIT license, see LICENSE for more details.
|
||||||
-- Author: shadman
|
|
||||||
-- Credit: itchyny(lightline)
|
-- Credit: itchyny(lightline)
|
||||||
-- License: MIT License
|
|
||||||
-- =============================================================================
|
|
||||||
|
|
||||||
local M = {}
|
local M = {}
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
-- =============================================================================
|
-- Copyright (c) 2020-2021 shadmansaleh
|
||||||
-- Filename: lua/lualine/themes/solarized_light.lua
|
-- MIT license, see LICENSE for more details.
|
||||||
-- Author: shadman
|
|
||||||
-- Credit: itchyny(lightline)
|
-- Credit: itchyny(lightline)
|
||||||
-- License: MIT License
|
|
||||||
-- =============================================================================
|
|
||||||
|
|
||||||
local M = {}
|
local M = {}
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
-- =============================================================================
|
-- Copyright (c) 2020-2021 shadmansaleh
|
||||||
|
-- MIT license, see LICENSE for more details.
|
||||||
-- Genarated by lightline to lualine theme converter
|
-- Genarated by lightline to lualine theme converter
|
||||||
-- https://gist.github.com/shadmansaleh/000871c9a608a012721c6acc6d7a19b9
|
-- https://gist.github.com/shadmansaleh/000871c9a608a012721c6acc6d7a19b9
|
||||||
-- License: MIT License
|
|
||||||
-- =============================================================================
|
|
||||||
|
|
||||||
local colors = {
|
local colors = {
|
||||||
color14 = "#718c00",
|
color14 = "#718c00",
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
-- =============================================================================
|
-- Copyright (c) 2020-2021 shadmansaleh
|
||||||
-- Filename: lua/lualine/themes/wombat.lua
|
-- MIT license, see LICENSE for more details.
|
||||||
-- Author: shadman
|
|
||||||
-- Credit: itchyny(lightline)
|
-- Credit: itchyny(lightline)
|
||||||
-- License: MIT License
|
|
||||||
-- =============================================================================
|
|
||||||
|
|
||||||
local M = {}
|
local M = {}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
-- Copyright (c) 2020-2021 hoob3rt
|
||||||
|
-- MIT license, see LICENSE for more details.
|
||||||
|
|
||||||
local M = { }
|
local M = { }
|
||||||
|
|
||||||
function M.draw_section(section, separator)
|
function M.draw_section(section, separator)
|
||||||
|
|
Loading…
Reference in New Issue