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