Fix colorscheme

pull/1456/head
Zach Zolton 1 year ago
parent 1baa252887
commit 4f05632356
No known key found for this signature in database

@ -692,22 +692,22 @@ require('lazy').setup({
end,
},
{ -- You can easily change to a different colorscheme.
-- Change the name of the colorscheme plugin below, and then
-- change the command in the config to whatever the name of that colorscheme is
-- { -- You can easily change to a different colorscheme.
-- -- Change the name of the colorscheme plugin below, and then
-- -- change the command in the config to whatever the name of that colorscheme is
-- --
-- -- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`
-- 'folke/tokyonight.nvim',
-- 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()
-- -- Load the colorscheme here
-- vim.cmd.colorscheme 'tokyonight-night'
--
-- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`
'folke/tokyonight.nvim',
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()
-- Load the colorscheme here
vim.cmd.colorscheme 'tokyonight-night'
-- You can configure highlights by doing something like
vim.cmd.hi 'Comment gui=none'
end,
},
-- -- You can configure highlights by doing something like
-- vim.cmd.hi 'Comment gui=none'
-- end,
-- },
-- Highlight todo, notes, etc in comments
{ 'folke/todo-comments.nvim', dependencies = { 'nvim-lua/plenary.nvim' }, opts = { signs = false } },
@ -833,6 +833,7 @@ vim.opt.listchars = {
trail = '',
tab = '',
}
vim.opt.list = false
-- Recognize specific file names as having a certain language's syntax
vim.cmd [[
@ -1017,13 +1018,9 @@ local on_attach = function(_, bufnr)
nmap('gI', require('telescope.builtin').lsp_implementations, '[G]oto [I]mplementation')
nmap('<leader>D', vim.lsp.buf.type_definition, 'Type [D]efinition')
-- Just show classes and functions
nmap(
'<leader>ds',
function()
require('telescope.builtin').lsp_document_symbols({ ignore_symbols = { 'variable', 'constant' } })
end,
'[D]ocument [S]ymbols'
)
nmap('<leader>ds', function()
require('telescope.builtin').lsp_document_symbols { ignore_symbols = { 'variable', 'constant' } }
end, '[D]ocument [S]ymbols')
nmap('<leader>ws', require('telescope.builtin').lsp_dynamic_workspace_symbols, '[W]orkspace [S]ymbols')
-- See `:help K` for why this keymap
@ -1039,11 +1036,9 @@ local on_attach = function(_, bufnr)
end, '[W]orkspace [L]ist Folders')
-- Don't show diagnostics inline
vim.lsp.handlers["textDocument/publishDiagnostics"] = vim.lsp.with(
vim.lsp.diagnostic.on_publish_diagnostics, {
virtual_text = false
}
)
vim.lsp.handlers['textDocument/publishDiagnostics'] = vim.lsp.with(vim.lsp.diagnostic.on_publish_diagnostics, {
virtual_text = false,
})
-- Show diagnostics for line under the cursor
vim.keymap.set('n', '<leader>e', vim.diagnostic.open_float)
@ -1105,9 +1100,9 @@ local servers = {
yamlls = {
yaml = {
schemas = {
kubernetes = "*.yaml",
["http://json.schemastore.org/github-workflow"] = ".github/workflows/*",
["http://json.schemastore.org/github-action"] = ".github/action.{yml,yaml}",
kubernetes = '*.yaml',
['http://json.schemastore.org/github-workflow'] = '.github/workflows/*',
['http://json.schemastore.org/github-action'] = '.github/action.{yml,yaml}',
-- ["http://json.schemastore.org/ansible-stable-2.9"] = "roles/tasks/*.{yml,yaml}",
-- ["http://json.schemastore.org/prettierrc"] = ".prettierrc.{yml,yaml}",
-- ["http://json.schemastore.org/kustomization"] = "kustomization.{yml,yaml}",

Loading…
Cancel
Save