mirror of https://github.com/E-Almqvist/dotfiles
parent
14f8f6825f
commit
9a6e6a650f
File diff suppressed because it is too large
Load Diff
@ -1,4 +0,0 @@ |
||||
{ |
||||
"coc.source.OmniSharp.enable" : true, |
||||
"coc.source.OmniSharp.triggerCharacters": "." |
||||
} |
@ -1,151 +0,0 @@ |
||||
" Vim color file |
||||
" 111015 |
||||
" Created by with ThemeCreator (https://github.com/mswift42/themecreator) |
||||
|
||||
hi clear |
||||
|
||||
if exists("syntax on") |
||||
syntax reset |
||||
endif |
||||
|
||||
set t_Co=256 |
||||
let g:colors_name = "111015" |
||||
|
||||
|
||||
" Define reusable colorvariables. |
||||
let s:bg="#111015" |
||||
let s:fg="#b1b1b1" |
||||
let s:fg2="#a3a3a3" |
||||
let s:fg3="#959595" |
||||
let s:fg4="#878787" |
||||
let s:bg2="#242328" |
||||
let s:bg3="#37363a" |
||||
let s:bg4="#4a494d" |
||||
let s:keyword="#a3d4e8" |
||||
let s:builtin="#c4cbee" |
||||
let s:const= "#a3d6cc" |
||||
let s:comment="#5d5d5d" |
||||
let s:func="#f1c1bd" |
||||
let s:str="#e6c2db" |
||||
let s:type="#c1d2b1" |
||||
let s:var="#e1c9aa" |
||||
let s:warning="#e81050" |
||||
let s:warning2="#e86310" |
||||
|
||||
exe 'hi Normal guifg='s:fg' guibg='s:bg |
||||
exe 'hi Cursor guifg='s:bg' guibg='s:fg |
||||
exe 'hi CursorLine guibg='s:bg2 |
||||
exe 'hi CursorLineNr guifg='s:str' guibg='s:bg |
||||
exe 'hi CursorColumn guibg='s:bg2 |
||||
exe 'hi ColorColumn guibg='s:bg2 |
||||
exe 'hi LineNr guifg='s:fg2' guibg='s:bg2 |
||||
exe 'hi VertSplit guifg='s:fg3' guibg='s:bg3 |
||||
exe 'hi MatchParen guifg='s:warning2' gui=underline' |
||||
exe 'hi StatusLine guifg='s:fg2' guibg='s:bg3' gui=bold' |
||||
exe 'hi Pmenu guifg='s:fg' guibg='s:bg2 |
||||
exe 'hi PmenuSel guibg='s:bg3 |
||||
exe 'hi IncSearch guifg='s:bg' guibg='s:keyword |
||||
exe 'hi Search gui=underline' |
||||
exe 'hi Directory guifg='s:const |
||||
exe 'hi Folded guifg='s:fg4' guibg='s:bg |
||||
exe 'hi WildMenu guifg='s:str' guibg='s:bg |
||||
|
||||
exe 'hi Boolean guifg='s:const |
||||
exe 'hi Character guifg='s:const |
||||
exe 'hi Comment guifg='s:comment |
||||
exe 'hi Conditional guifg='s:keyword |
||||
exe 'hi Constant guifg='s:const |
||||
exe 'hi Todo guibg='s:bg |
||||
exe 'hi Define guifg='s:keyword |
||||
exe 'hi DiffAdd guifg=#fafafa guibg=#123d0f gui=bold' |
||||
exe 'hi DiffDelete guibg='s:bg2 |
||||
exe 'hi DiffChange guibg=#151b3c guifg=#fafafa' |
||||
exe 'hi DiffText guifg=#ffffff guibg=#ff0000 gui=bold' |
||||
exe 'hi ErrorMsg guifg='s:warning' guibg='s:bg2' gui=bold' |
||||
exe 'hi WarningMsg guifg='s:fg' guibg='s:warning2 |
||||
exe 'hi Float guifg='s:const |
||||
exe 'hi Function guifg='s:func |
||||
exe 'hi Identifier guifg='s:type' gui=italic' |
||||
exe 'hi Keyword guifg='s:keyword' gui=bold' |
||||
exe 'hi Label guifg='s:var |
||||
exe 'hi NonText guifg='s:bg4' guibg='s:bg2 |
||||
exe 'hi Number guifg='s:const |
||||
exe 'hi Operator guifg='s:keyword |
||||
exe 'hi PreProc guifg='s:keyword |
||||
exe 'hi Special guifg='s:fg |
||||
exe 'hi SpecialKey guifg='s:fg2' guibg='s:bg2 |
||||
exe 'hi Statement guifg='s:keyword |
||||
exe 'hi StorageClass guifg='s:type' gui=italic' |
||||
exe 'hi String guifg='s:str |
||||
exe 'hi Tag guifg='s:keyword |
||||
exe 'hi Title guifg='s:fg' gui=bold' |
||||
exe 'hi Todo guifg='s:fg2' gui=inverse,bold' |
||||
exe 'hi Type guifg='s:type |
||||
exe 'hi Underlined gui=underline' |
||||
|
||||
" Neovim Terminal Mode |
||||
let g:terminal_color_0 = s:bg |
||||
let g:terminal_color_1 = s:warning |
||||
let g:terminal_color_2 = s:keyword |
||||
let g:terminal_color_3 = s:bg4 |
||||
let g:terminal_color_4 = s:func |
||||
let g:terminal_color_5 = s:builtin |
||||
let g:terminal_color_6 = s:fg3 |
||||
let g:terminal_color_7 = s:str |
||||
let g:terminal_color_8 = s:bg2 |
||||
let g:terminal_color_9 = s:warning2 |
||||
let g:terminal_color_10 = s:fg2 |
||||
let g:terminal_color_11 = s:var |
||||
let g:terminal_color_12 = s:type |
||||
let g:terminal_color_13 = s:const |
||||
let g:terminal_color_14 = s:fg4 |
||||
let g:terminal_color_15 = s:comment |
||||
|
||||
" Ruby Highlighting |
||||
exe 'hi rubyAttribute guifg='s:builtin |
||||
exe 'hi rubyLocalVariableOrMethod guifg='s:var |
||||
exe 'hi rubyGlobalVariable guifg='s:var' gui=italic' |
||||
exe 'hi rubyInstanceVariable guifg='s:var |
||||
exe 'hi rubyKeyword guifg='s:keyword |
||||
exe 'hi rubyKeywordAsMethod guifg='s:keyword' gui=bold' |
||||
exe 'hi rubyClassDeclaration guifg='s:keyword' gui=bold' |
||||
exe 'hi rubyClass guifg='s:keyword' gui=bold' |
||||
exe 'hi rubyNumber guifg='s:const |
||||
|
||||
" Python Highlighting |
||||
exe 'hi pythonBuiltinFunc guifg='s:builtin |
||||
|
||||
" Go Highlighting |
||||
exe 'hi goBuiltins guifg='s:builtin |
||||
let g:go_highlight_array_whitespace_error = 1 |
||||
let g:go_highlight_build_constraints = 1 |
||||
let g:go_highlight_chan_whitespace_error = 1 |
||||
let g:go_highlight_extra_types = 1 |
||||
let g:go_highlight_fields = 1 |
||||
let g:go_highlight_format_strings = 1 |
||||
let g:go_highlight_function_calls = 1 |
||||
let g:go_highlight_function_parameters = 1 |
||||
let g:go_highlight_functions = 1 |
||||
let g:go_highlight_generate_tags = 1 |
||||
let g:go_highlight_operators = 1 |
||||
let g:go_highlight_space_tab_error = 1 |
||||
let g:go_highlight_string_spellcheck = 1 |
||||
let g:go_highlight_types = 1 |
||||
let g:go_highlight_variable_assignments = 1 |
||||
let g:go_highlight_variable_declarations = 1 |
||||
|
||||
" Javascript Highlighting |
||||
exe 'hi jsBuiltins guifg='s:builtin |
||||
exe 'hi jsFunction guifg='s:keyword' gui=bold' |
||||
exe 'hi jsGlobalObjects guifg='s:type |
||||
exe 'hi jsAssignmentExps guifg='s:var |
||||
|
||||
" Html Highlighting |
||||
exe 'hi htmlLink guifg='s:var' gui=underline' |
||||
exe 'hi htmlStatement guifg='s:keyword |
||||
exe 'hi htmlSpecialTagName guifg='s:keyword |
||||
|
||||
" Markdown Highlighting |
||||
exe 'hi mkdCode guifg='s:builtin |
||||
|
||||
|
@ -1,151 +0,0 @@ |
||||
" Vim color file |
||||
" Greymatters |
||||
" Created by with ThemeCreator (https://github.com/mswift42/themecreator) |
||||
|
||||
hi clear |
||||
|
||||
if exists("syntax on") |
||||
syntax reset |
||||
endif |
||||
|
||||
set t_Co=256 |
||||
let g:colors_name = "Greymatters" |
||||
|
||||
|
||||
" Define reusable colorvariables. |
||||
let s:bg="#f9fbfd" |
||||
let s:fg="#2f2f2f" |
||||
let s:fg2="#404040" |
||||
let s:fg3="#505050" |
||||
let s:fg4="#616161" |
||||
let s:bg2="#e5e7e9" |
||||
let s:bg3="#d1d3d5" |
||||
let s:bg4="#bdbfc0" |
||||
let s:keyword="#3f567b" |
||||
let s:builtin="#7b4135" |
||||
let s:const= "#64502f" |
||||
let s:comment="#949494" |
||||
let s:func="#714355" |
||||
let s:str="#305f5e" |
||||
let s:type="#634575" |
||||
let s:var="#3f5b32" |
||||
let s:warning="#fa0c0c" |
||||
let s:warning2="#fa7b0c" |
||||
|
||||
exe 'hi Normal guifg='s:fg' guibg='s:bg |
||||
exe 'hi Cursor guifg='s:bg' guibg='s:fg |
||||
exe 'hi CursorLine guibg='s:bg2 |
||||
exe 'hi CursorLineNr guifg='s:str' guibg='s:bg |
||||
exe 'hi CursorColumn guibg='s:bg2 |
||||
exe 'hi ColorColumn guibg='s:bg2 |
||||
exe 'hi LineNr guifg='s:fg2' guibg='s:bg2 |
||||
exe 'hi VertSplit guifg='s:fg3' guibg='s:bg3 |
||||
exe 'hi MatchParen guifg='s:warning2' gui=underline' |
||||
exe 'hi StatusLine guifg='s:fg2' guibg='s:bg3' gui=bold' |
||||
exe 'hi Pmenu guifg='s:fg' guibg='s:bg2 |
||||
exe 'hi PmenuSel guibg='s:bg3 |
||||
exe 'hi IncSearch guifg='s:bg' guibg='s:keyword |
||||
exe 'hi Search gui=underline' |
||||
exe 'hi Directory guifg='s:const |
||||
exe 'hi Folded guifg='s:fg4' guibg='s:bg |
||||
exe 'hi WildMenu guifg='s:str' guibg='s:bg |
||||
|
||||
exe 'hi Boolean guifg='s:const |
||||
exe 'hi Character guifg='s:const |
||||
exe 'hi Comment guifg='s:comment |
||||
exe 'hi Conditional guifg='s:keyword |
||||
exe 'hi Constant guifg='s:const |
||||
exe 'hi Todo guibg='s:bg |
||||
exe 'hi Define guifg='s:keyword |
||||
exe 'hi DiffAdd guifg=#000000 guibg=#bef6dc gui=bold' |
||||
exe 'hi DiffDelete guifg='s:bg2 |
||||
exe 'hi DiffChange guibg=#5b76ef guifg=#ffffff' |
||||
exe 'hi DiffText guifg=#ffffff guibg=#ff0000 gui=bold' |
||||
exe 'hi ErrorMsg guifg='s:warning' guibg='s:bg2' gui=bold' |
||||
exe 'hi WarningMsg guifg='s:fg' guibg='s:warning2 |
||||
exe 'hi Float guifg='s:const |
||||
exe 'hi Function guifg='s:func |
||||
exe 'hi Identifier guifg='s:type' gui=italic' |
||||
exe 'hi Keyword guifg='s:keyword' gui=bold' |
||||
exe 'hi Label guifg='s:var |
||||
exe 'hi NonText guifg='s:bg4' guibg='s:bg2 |
||||
exe 'hi Number guifg='s:const |
||||
exe 'hi Operator guifg='s:keyword |
||||
exe 'hi PreProc guifg='s:keyword |
||||
exe 'hi Special guifg='s:fg |
||||
exe 'hi SpecialKey guifg='s:fg2' guibg='s:bg2 |
||||
exe 'hi Statement guifg='s:keyword |
||||
exe 'hi StorageClass guifg='s:type' gui=italic' |
||||
exe 'hi String guifg='s:str |
||||
exe 'hi Tag guifg='s:keyword |
||||
exe 'hi Title guifg='s:fg' gui=bold' |
||||
exe 'hi Todo guifg='s:fg2' gui=inverse,bold' |
||||
exe 'hi Type guifg='s:type |
||||
exe 'hi Underlined gui=underline' |
||||
|
||||
" Neovim Terminal Mode |
||||
let g:terminal_color_0 = s:bg |
||||
let g:terminal_color_1 = s:warning |
||||
let g:terminal_color_2 = s:keyword |
||||
let g:terminal_color_3 = s:bg4 |
||||
let g:terminal_color_4 = s:func |
||||
let g:terminal_color_5 = s:builtin |
||||
let g:terminal_color_6 = s:fg3 |
||||
let g:terminal_color_7 = s:str |
||||
let g:terminal_color_8 = s:bg2 |
||||
let g:terminal_color_9 = s:warning2 |
||||
let g:terminal_color_10 = s:fg2 |
||||
let g:terminal_color_11 = s:var |
||||
let g:terminal_color_12 = s:type |
||||
let g:terminal_color_13 = s:const |
||||
let g:terminal_color_14 = s:fg4 |
||||
let g:terminal_color_15 = s:comment |
||||
|
||||
" Ruby Highlighting |
||||
exe 'hi rubyAttribute guifg='s:builtin |
||||
exe 'hi rubyLocalVariableOrMethod guifg='s:var |
||||
exe 'hi rubyGlobalVariable guifg='s:var' gui=italic' |
||||
exe 'hi rubyInstanceVariable guifg='s:var |
||||
exe 'hi rubyKeyword guifg='s:keyword |
||||
exe 'hi rubyKeywordAsMethod guifg='s:keyword' gui=bold' |
||||
exe 'hi rubyClassDeclaration guifg='s:keyword' gui=bold' |
||||
exe 'hi rubyClass guifg='s:keyword' gui=bold' |
||||
exe 'hi rubyNumber guifg='s:const |
||||
|
||||
" Python Highlighting |
||||
exe 'hi pythonBuiltinFunc guifg='s:builtin |
||||
|
||||
" Go Highlighting |
||||
exe 'hi goBuiltins guifg='s:builtin |
||||
let g:go_highlight_array_whitespace_error = 1 |
||||
let g:go_highlight_build_constraints = 1 |
||||
let g:go_highlight_chan_whitespace_error = 1 |
||||
let g:go_highlight_extra_types = 1 |
||||
let g:go_highlight_fields = 1 |
||||
let g:go_highlight_format_strings = 1 |
||||
let g:go_highlight_function_calls = 1 |
||||
let g:go_highlight_function_parameters = 1 |
||||
let g:go_highlight_functions = 1 |
||||
let g:go_highlight_generate_tags = 1 |
||||
let g:go_highlight_operators = 1 |
||||
let g:go_highlight_space_tab_error = 1 |
||||
let g:go_highlight_string_spellcheck = 1 |
||||
let g:go_highlight_types = 1 |
||||
let g:go_highlight_variable_assignments = 1 |
||||
let g:go_highlight_variable_declarations = 1 |
||||
|
||||
" Javascript Highlighting |
||||
exe 'hi jsBuiltins guifg='s:builtin |
||||
exe 'hi jsFunction guifg='s:keyword' gui=bold' |
||||
exe 'hi jsGlobalObjects guifg='s:type |
||||
exe 'hi jsAssignmentExps guifg='s:var |
||||
|
||||
" Html Highlighting |
||||
exe 'hi htmlLink guifg='s:var' gui=underline' |
||||
exe 'hi htmlStatement guifg='s:keyword |
||||
exe 'hi htmlSpecialTagName guifg='s:keyword |
||||
|
||||
" Markdown Highlighting |
||||
exe 'hi mkdCode guifg='s:builtin |
||||
|
||||
|
@ -1,157 +0,0 @@ |
||||
" _ _ __ ___ |
||||
" | \ | | ___ __\ \ / (_)_ __ ___ |
||||
" | \| |/ _ \/ _ \ \ / /| | '_ ` _ \ |
||||
" | |\ | __/ (_) \ V / | | | | | | | |
||||
" |_| \_|\___|\___/ \_/ |_|_| |_| |_| |
||||
|
||||
|
||||
call plug#begin('~/.config/nvim/plugged') |
||||
" Misc |
||||
Plug 'vim-scripts/fountain.vim' |
||||
Plug 'preservim/nerdtree' |
||||
Plug 'numToStr/Comment.nvim' |
||||
Plug 'andweeb/presence.nvim' |
||||
|
||||
" LS |
||||
" Plug 'neoclide/coc.nvim', {'branch': 'release'} |
||||
Plug 'nvim-lua/completion-nvim' |
||||
Plug 'neovim/nvim-lspconfig' |
||||
|
||||
" Lang support |
||||
Plug 'tpope/vim-markdown' |
||||
Plug 'ap/vim-css-color' |
||||
Plug 'axelf4/vim-haskell' |
||||
Plug 'pantharshit00/vim-prisma' |
||||
Plug 'mikelue/vim-maven-plugin' |
||||
Plug 'sheerun/vim-polyglot' |
||||
Plug 'ngmy/vim-rubocop' |
||||
Plug 'lervag/vimtex' |
||||
Plug 'arakashic/chromatica.nvim' |
||||
Plug 'slim-template/vim-slim' |
||||
Plug 'OmniSharp/omnisharp-vim' |
||||
Plug 'ARM9/arm-syntax-vim' |
||||
|
||||
" Themes |
||||
Plug 'ellisonleao/gruvbox.nvim' |
||||
Plug 'sainnhe/gruvbox-material' |
||||
Plug 'projekt0n/github-nvim-theme' |
||||
Plug 'chriskempson/base16-vim' |
||||
|
||||
" Lua Line |
||||
Plug 'nvim-lualine/lualine.nvim' |
||||
Plug 'kyazdani42/nvim-web-devicons' |
||||
call plug#end() |
||||
|
||||
set nocompatible |
||||
set showmatch |
||||
set ignorecase |
||||
|
||||
" Mouse |
||||
set mouse=a |
||||
" map <ScrollWheelUp> <C-Y> |
||||
" map <ScrollWheelDown> <C-E> |
||||
|
||||
set hlsearch |
||||
set autoindent |
||||
filetype plugin indent on |
||||
syntax on |
||||
|
||||
set autoindent |
||||
set noexpandtab |
||||
set tabstop=4 |
||||
set shiftwidth=4 |
||||
|
||||
" Dumb shit |
||||
let g:ruby_recommended_style = 0 |
||||
|
||||
" Binds |
||||
" Tabs |
||||
vmap <Tab> >gv |
||||
vmap <S-Tab> <gv |
||||
|
||||
" NERDTree |
||||
nmap <silent> <C-D> :NERDTreeToggle<CR> |
||||
|
||||
set clipboard+=unnamedplus |
||||
|
||||
" Theme |
||||
" set background=dark |
||||
colorscheme base16-tomorrow-night |
||||
let &showbreak = '↳ ' |
||||
set laststatus=0 ruler |
||||
set nu |
||||
|
||||
" hi Normal guibg=NONE ctermbg=NONE |
||||
" hi EndOfBuffer guibg=NONE ctermbg=NONE |
||||
" hi TabLine guibg=NONE ctermbg=NONE |
||||
" " hi TabLineSel ctermfg=223 guibg=NONE ctermbg=NONE |
||||
" hi TabLineFill guibg=NONE ctermbg=NONE |
||||
|
||||
hi StatusLine ctermbg=NONE guibg=NONE |
||||
|
||||
highlight clear LineNr |
||||
highlight LineNr ctermfg=NONE ctermbg=NONE |
||||
|
||||
" Airline |
||||
let g:airline_theme='github_light' |
||||
|
||||
" Color stuff |
||||
set encoding=UTF-8 |
||||
autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o |
||||
if (empty($TMUX)) |
||||
if (has("nvim")) |
||||
let $NVIM_TUI_ENABLE_TRUE_COLOR=1 |
||||
endif |
||||
if (has("termguicolors")) |
||||
set termguicolors |
||||
endif |
||||
endif |
||||
|
||||
" COC |
||||
let g:coc_global_extensions = ['coc-prettier', 'coc-tsserver', 'coc-solargraph', 'coc-sh', 'coc-json', 'coc-html', 'coc-css', 'coc-cmake', 'coc-emmet', 'coc-vimtex'] |
||||
" 'coc-clangd' |
||||
" 'coc-pyright' |
||||
|
||||
|
||||
" VIMTEX stuff |
||||
let g:vimtex_view_method = 'zathura' |
||||
|
||||
" Or with a generic interface: |
||||
let g:vimtex_view_general_viewer = 'zathura' |
||||
let g:vimtex_view_general_options = '--unique file:@pdf\#src:@line@tex' |
||||
|
||||
" Most VimTeX mappings rely on localleader and this can be changed with the |
||||
" following line. The default is usually fine and is the symbol "\". |
||||
let maplocalleader = "," |
||||
set title |
||||
|
||||
|
||||
" Lua crap |
||||
lua << END |
||||
require('lualine').setup() |
||||
require('Comment').setup() |
||||
----require('lspconfig').setup({}) |
||||
require("presence").setup({ |
||||
-- General options |
||||
auto_update = true, -- Update activity based on autocmd events (if `false`, map or manually execute `:lua package.loaded.presence:update()`) |
||||
neovim_image_text = "Neovim", -- Text displayed when hovered over the Neovim image |
||||
main_image = "neovim", -- Main image display (either "neovim" or "file") |
||||
client_id = "793271441293967371", -- Use your own Discord application client id (not recommended) |
||||
log_level = nil, -- Log messages at or above this level (one of the following: "debug", "info", "warn", "error") |
||||
debounce_timeout = 10, -- Number of seconds to debounce events (or calls to `:lua package.loaded.presence:update(<filename>, true)`) |
||||
enable_line_number = false, -- Displays the current line number instead of the current project |
||||
blacklist = {}, -- A list of strings or Lua patterns that disable Rich Presence if the current file name, path, or workspace matches |
||||
buttons = false, -- Configure Rich Presence button(s), either a boolean to enable/disable, a static table (`{{ label = "<label>", url = "<url>" }, ...}`, or a function(buffer: string, repo_url: string|nil): table) |
||||
file_assets = {}, -- Custom file asset definitions keyed by file names and extensions (see default config at `lua/presence/file_assets.lua` for reference) |
||||
show_time = true, -- Show the timer |
||||
|
||||
-- Rich Presence text options |
||||
editing_text = "Editing %s", -- Format string rendered when an editable file is loaded in the buffer (either string or function(filename: string): string) |
||||
file_explorer_text = "Browsing %s", -- Format string rendered when browsing a file explorer (either string or function(file_explorer_name: string): string) |
||||
git_commit_text = "Committing changes", -- Format string rendered when committing changes in git (either string or function(filename: string): string) |
||||
plugin_manager_text = "Managing plugins", -- Format string rendered when managing plugins (either string or function(plugin_manager_name: string): string) |
||||
reading_text = "Reading %s", -- Format string rendered when a read-only or unmodifiable file is loaded in the buffer (either string or function(filename: string): string) |
||||
workspace_text = "Working on %s", -- Format string rendered when in a git repository (either string or function(project_name: string|nil, filename: string): string) |
||||
line_number_text = "Line %s out of %s", -- Format string rendered when `enable_line_number` is set to true (either string or function(line_number: number, line_count: number): string) |
||||
}) |
||||
END |
@ -1,6 +0,0 @@ |
||||
local M = {} |
||||
M.ui = { |
||||
theme = "onedark", |
||||
} |
||||
return M |
||||
|
Loading…
Reference in new issue