From 117f2a86a6f89230eb24211a273bfcc0360c8b18 Mon Sep 17 00:00:00 2001 From: CRy386i Date: Sat, 20 Dec 2025 03:46:36 +0100 Subject: [PATCH] Fix trolling format file and mysterious themes --- lua/base/other.lua | 3 ++- lua/plugins/lazy.lua | 14 ++++---------- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/lua/base/other.lua b/lua/base/other.lua index 2df247a..658574b 100644 --- a/lua/base/other.lua +++ b/lua/base/other.lua @@ -27,7 +27,8 @@ vim.cmd [[autocmd BufEnter * set fo-=c fo-=r fo-=o]] opt.encoding = "utf-8" opt.fileencoding = "utf-8" -opt.ff = "unix" +opt.fileformats = "unix" +opt.fileformat = "unix" -- Also work under ru opt.langmap = "ФИСВУАПРШОЛДЬТЩЗЙКЫЕГМЦЧНЯ;ABCDEFGHIJKLMNOPQRSTUVWXYZ,фисвуапршолдьтщзйкыегмцчня;abcdefghijklmnopqrstuvwxyz" diff --git a/lua/plugins/lazy.lua b/lua/plugins/lazy.lua index 79d6e10..44a6d78 100644 --- a/lua/plugins/lazy.lua +++ b/lua/plugins/lazy.lua @@ -15,12 +15,6 @@ vim.opt.rtp:prepend(lazypath) require('lazy').setup({ { 'tpope/vim-commentary', }, { 'tpope/vim-fugitive', }, - { 'sheerun/vim-polyglot', - init = function() - -- vim-polyglot confusingly registers *.comp both for perl and for glsl - vim.api.nvim_set_var('polyglot_disabled', {'perl'}) - end, - }, { 'morhetz/gruvbox', lazy = false, @@ -32,10 +26,10 @@ require('lazy').setup({ vim.cmd([[colorscheme gruvbox]]) end, }, - { - "folke/tokyonight.nvim", - lazy = true - }, + -- { + -- "folke/tokyonight.nvim", + -- lazy = true + -- }, { 'nvim-telescope/telescope-fzf-native.nvim', build = 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build' },