From 83a92f27057fb6fe41951a6ad113c5b73729fdf5 Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Tue, 15 Aug 2017 15:56:13 +0200 Subject: [PATCH] vim colors --- .config/nvim/colors/dln.vim | 78 +++++++++++++++++++------------------ .config/nvim/init.vim | 2 + 2 files changed, 42 insertions(+), 38 deletions(-) diff --git a/.config/nvim/colors/dln.vim b/.config/nvim/colors/dln.vim index dbfe570..1dc06b8 100644 --- a/.config/nvim/colors/dln.vim +++ b/.config/nvim/colors/dln.vim @@ -293,41 +293,43 @@ fun! hi(group, guifg, guibg, attr) endif endfun -call hi("LineNr", s:blue_grey_400, s:blue_grey_50, "italic") -call hi("Normal", s:black_1000, s:white_1000, "") -call hi("Bold", "", "", "bold") -call hi("Italic", "", "", "italic") -call hi("Boolean", s:pink_500, "", "") -call hi("Character", "", "", "") -" call hi("Comment", s:deep_orange_900, "", "italic") -call hi("Comment", s:blue_grey_500, "", "italic") -" call hi("Comment", s:grey_600, "", "italic") -call hi("Conditional", "", "", "") -call hi("Constant", "", "", "") -call hi("Define", "", "", "") -call hi("Delimiter", "", "", "") -call hi("Float", "", "", "") -call hi("Function", s:red_900, "", "bold") -" call hi("Function", 5:grey_900, "", "bold") -call hi("Identifier", s:indigo_500, "", "bold") -call hi("Include", "", "", "") -call hi("Keyword", s:indigo_900, "", "") -call hi("Label", "", "", "") -call hi("Number", s:blue_600, "", "") -call hi("Operator", s:cyan_900, "", "") -call hi("PreProc", "", "", "") -call hi("Repeat", "", "", "") -call hi("Special", s:green_700, "", "") -call hi("SpecialChar", "", "", "") -call hi("Statement", s:blue_grey_700, "", "bold") -call hi("StorageClass", "", "", "") -call hi("String", s:light_green_800, "", "italic") -call hi("Structure", "", "", "") -call hi("Tag", "", "", "") -call hi("Todo", "", "", "") -call hi("Type", s:deep_purple_900, "", "none") -call hi("Typedef", "", "", "") -call hi("goDeclaration", "", "", "bold") -call hi("goReceiverType", s:teal_500, "", "none") -call hi("goMethodCall", s:deep_orange_600, "", "none") -call hi("goFunctionCall", s:deep_orange_700, "", "none") +call hi("LineNr", s:blue_grey_400, s:grey_50, "italic") +call hi("Normal", s:black_1000, s:white_1000, "") +call hi("Bold", "", "", "bold") +call hi("Italic", "", "", "italic") +call hi("Boolean", s:pink_900, "", "bold") +call hi("Character", "", "", "") +" call hi("Comment", s:deep_orange_900, "", "italic") +call hi("Comment", s:blue_grey_400, "", "italic") +" call hi("Comment", s:grey_600, "", "italic") +call hi("Conditional", "", "", "") +call hi("Constant", "", "", "") +call hi("Define", "", "", "") +call hi("Delimiter", "", "", "") +call hi("Float", "", "", "") +call hi("Function", s:red_900, "", "bold") +" call hi("Function", 5:grey_900, "", "bold") +call hi("Identifier", s:indigo_500, "", "bold") +call hi("Include", "", "", "") +call hi("Keyword", s:indigo_900, "", "") +call hi("Label", "", "", "") +call hi("Number", s:indigo_500, "", "") +call hi("Operator", s:cyan_900, "", "") +call hi("PreProc", "", "", "") +call hi("Repeat", "", "", "") +call hi("Search", "", s:yellow_100, "none") +call hi("Special", s:green_700, "", "") +call hi("SpecialChar", "", "", "") +call hi("Statement", s:blue_grey_700, "", "bold") +call hi("StorageClass", "", "", "") +call hi("String", s:light_green_900, "", "italic") +call hi("Structure", "", "", "") +call hi("Tag", "", "", "") +call hi("Todo", "", "", "") +call hi("Type", s:deep_purple_900, "", "none") +call hi("Typedef", "", "", "") +call hi("goDeclaration", "", "", "bold") +call hi("goReceiverType", s:teal_500, "", "none") +call hi("goMethodCall", s:brown_600, "", "none") +call hi("goField", s:cyan_900, "", "none") +call hi("goFunctionCall", s:brown_500, "", "none") diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index ebcbf23..6528cd1 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -426,6 +426,8 @@ let g:go_updatetime = 500 " ALE let g:ale_sign_column_always = 1 +" let g:ale_linters = {'go': ['gometalinter', 'gofmt']} +let g:ale_linters = {'go': ['go build', 'gofmt', 'golint', 'gometalinter', 'gosimple', 'go vet', 'staticcheck']} " Hugo