forked from nvim-lua/kickstart.nvim
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.lua
More file actions
102 lines (90 loc) · 2.85 KB
/
init.lua
File metadata and controls
102 lines (90 loc) · 2.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
vim.g.mapleader = ','
vim.g.maplocalleader = ','
local is_vscode = vim.g.vscode
require('phoenix.keymaps').setup()
require('phoenix.defaults').setup(vim.g.vscode)
if is_vscode then
return
end
require 'setup_lazy'
require('lazy').setup {
-- handle tabwidth stuff better
'tpope/vim-sleuth',
{
-- colorscheme is always in init.lua
'projekt0n/github-nvim-theme',
lazy = false, -- make sure we load this during startup if it is your main colorscheme
priority = 1000, -- make sure to load this before all the other start plugins
config = function()
-- require('github-theme').setup {
-- -- ...
-- }
--
-- vim.cmd 'colorscheme github_dark'
-- vim.cmd 'colorscheme github_dark_default'
-- vim.cmd [[highlight CursorLine guibg=#1c1d26]]
end,
},
{
'catppuccin/nvim',
name = 'catppuccin',
lazy = false,
priority = 1000,
config = function()
require('catppuccin').setup {
flavour = 'mocha', -- latte, frappe, macchiato, mocha
background = { -- :h background
light = 'latte',
dark = 'mocha',
},
transparent_background = true, -- disables setting the background color.
float = {
transparent = true, -- enable transparent floating windows
solid = false, -- use solid styling for floating windows, see |winborder|
},
show_end_of_buffer = false, -- shows the '~' characters after the end of buffers
term_colors = false, -- sets terminal colors (e.g. `g:terminal_color_0`)
dim_inactive = {
enabled = false, -- dims the background color of inactive window
shade = 'dark',
percentage = 0.15, -- percentage of the shade to apply to the inactive window
},
no_italic = true, -- Force no italic
no_bold = false, -- Force no bold
no_underline = false, -- Force no underline
styles = { -- Handles the styles of general hi groups (see `:h highlight-args`):
comments = {}, -- Change the style of comments
conditionals = {},
loops = {},
functions = {},
keywords = {},
strings = {},
variables = {},
numbers = {},
booleans = {},
properties = {},
types = {},
operators = {},
-- miscs = {}, -- Uncomment to turn off hard-coded styles
},
color_overrides = {},
custom_highlights = {},
default_integrations = true,
auto_integrations = true,
}
vim.cmd 'colorscheme catppuccin'
end,
},
-- {
-- 'wnkz/monoglow.nvim',
-- lazy = false,
-- priority = 1000,
-- opts = {},
-- config = function()
-- vim.cmd 'colorscheme monoglow'
-- end,
-- },
-- NOTE: import plugin specs
{ import = 'phoenix.plugins' },
}
-- vim: ts=2 sts=2 sw=2 et