mirror of
https://github.com/davegallant/nix-config
synced 2025-08-07 05:02:28 +00:00
Fix twilight-nvim by using tokyonight theme which uses treesitter
This commit is contained in:
@@ -57,8 +57,6 @@ au FileType yaml setlocal ts=2 sts=2 sw=2 expandtab
|
||||
au BufNewFile,BufRead *.py set tabstop=4 softtabstop=4 shiftwidth=4 textwidth=79 expandtab autoindent fileformat=unix
|
||||
let python_highlight_all=1
|
||||
|
||||
colorscheme gruvbox
|
||||
|
||||
" Highlight whitespace
|
||||
highlight ExtraWhitespace ctermbg=red guibg=red
|
||||
match ExtraWhitespace /\s\+$/
|
||||
|
@@ -1,5 +1,14 @@
|
||||
-- colours
|
||||
vim.cmd[[colorscheme tokyonight]]
|
||||
vim.g.tokyonight_style = "night"
|
||||
vim.g.tokyonight_italic_functions = true
|
||||
|
||||
-- status line
|
||||
require('lualine').setup()
|
||||
require('lualine').setup {
|
||||
options = {
|
||||
theme = 'tokyonight'
|
||||
}
|
||||
}
|
||||
|
||||
-- lsp
|
||||
require'lspconfig'.bashls.setup{}
|
||||
@@ -51,6 +60,7 @@ require("twilight").setup {
|
||||
},
|
||||
exclude = {}, -- exclude these filetypes
|
||||
}
|
||||
vim.cmd[[autocmd BufEnter * :TwilightEnable]]
|
||||
|
||||
vim.api.nvim_exec([[
|
||||
set foldmethod=expr
|
||||
|
Reference in New Issue
Block a user