diff options
| author | schererleander <leander@schererleander.de> | 2024-12-01 14:00:50 +0100 |
|---|---|---|
| committer | schererleander <leander@schererleander.de> | 2024-12-01 14:00:50 +0100 |
| commit | 836d2e2778fcd685d67997df783111bdeec9bbeb (patch) | |
| tree | 7369dd61130f5978c24cb94f12d5c7bb82740afd /nvim/lua | |
| parent | 6a984c87c46330d7507e3d9cbf076a71fd551617 (diff) | |
update nvim config
Diffstat (limited to 'nvim/lua')
| -rw-r--r-- | nvim/lua/autocmds.lua | 13 | ||||
| -rw-r--r-- | nvim/lua/plugins.lua | 26 |
2 files changed, 6 insertions, 33 deletions
diff --git a/nvim/lua/autocmds.lua b/nvim/lua/autocmds.lua index f0947b7..f7e6923 100644 --- a/nvim/lua/autocmds.lua +++ b/nvim/lua/autocmds.lua @@ -6,16 +6,3 @@ vim.cmd('highlight SignColumn guibg=NONE ctermbg=None') -- transparent background vim.cmd('highlight Normal guibg=NONE ctermbg=NONE') vim.cmd('highlight NormalNC guibg=NONE ctermbg=NONE') - --- set linebreak for tex files -vim.cmd('autocmd FileType tex setlocal wrap linebreak') - --- convert tex file into pdf using pdflatex on save -vim.cmd('autocmd BufWritePost *.tex silent !pdflatex %<CR>') - --- remove space -vim.api.nvim_create_autocmd({ "BufWritePre" }, { - pattern = { "*" }, - command = [[%s/\s\+$//e]], -}) - diff --git a/nvim/lua/plugins.lua b/nvim/lua/plugins.lua index 00af5aa..ff8c9a8 100644 --- a/nvim/lua/plugins.lua +++ b/nvim/lua/plugins.lua @@ -1,25 +1,11 @@ require("lazy").setup({ { - "EdenEast/nightfox.nvim", + "ellisonleao/gruvbox.nvim", priority = 1000, - opts = { - transparent = true, - terminal_colors = true, - dim_inactive = false, - module_default = true, - styles = { - comments = "italic", - keywords = "italic", - }, - inverse = { - match_paren = false, - visual = false, - search = false, - }, - }, - config = function() - vim.cmd("colorscheme terafox") - end, + config = function () + require("gruvbox").setup({}) + vim.cmd("colorscheme gruvbox") + end }, { @@ -38,7 +24,7 @@ require("lazy").setup({ config = function() require("mason").setup() require("mason-lspconfig").setup({ - ensure_installed = { "lua_ls", "jdtls", "pyright", "tailwindcss", "clangd" }, + ensure_installed = { "lua_ls", "java_language_server", "pyright", "tailwindcss", "clangd" }, automatic_installation = true, }) |
