diff --git a/config/mutt/muttrc b/config/mutt/muttrc index 8056949..de82dd4 100644 --- a/config/mutt/muttrc +++ b/config/mutt/muttrc @@ -166,7 +166,7 @@ bind index,pager \CO sidebar-open bind index,pager \Ck sidebar-prev bind index,pager \Cj sidebar-next -macro attach 'V' "cat > /tmp/share/mutt-preview.html && $HOME/bin/preview-html /tmp/share/mutt-preview.html; rm /tmp/share/mutt-preview.html" +macro attach 'V' "cat > /tmp/mutt-preview.html && $HOME/bin/preview-html /tmp/mutt-preview.html; rm /tmp/mutt-preview.html" macro index 'c' '?^K=' set mailcap_path = ~/.config/mutt/mailcap diff --git a/config/nvim/ftplugin/gdscript.lua b/config/nvim/ftplugin/gdscript.lua new file mode 100644 index 0000000..fe480e1 --- /dev/null +++ b/config/nvim/ftplugin/gdscript.lua @@ -0,0 +1,6 @@ +vim.treesitter.start() + +vim.wo[0][0].foldexpr = 'v:lua.vim.treesitter.foldexpr()' +vim.wo[0][0].foldmethod = 'expr' + +vim.bo.indentexpr = "v:lua.require'nvim-treesitter'.indentexpr()" diff --git a/config/nvim/ftplugin/ruby.lua b/config/nvim/ftplugin/ruby.lua new file mode 100644 index 0000000..fe480e1 --- /dev/null +++ b/config/nvim/ftplugin/ruby.lua @@ -0,0 +1,6 @@ +vim.treesitter.start() + +vim.wo[0][0].foldexpr = 'v:lua.vim.treesitter.foldexpr()' +vim.wo[0][0].foldmethod = 'expr' + +vim.bo.indentexpr = "v:lua.require'nvim-treesitter'.indentexpr()" diff --git a/config/nvim/init.vim b/config/nvim/init.vim index 00c45a8..bbfa068 100644 --- a/config/nvim/init.vim +++ b/config/nvim/init.vim @@ -162,36 +162,6 @@ vim.cmd("colorscheme gruvbox") require('gitsigns').setup() --- tree-sitter - -require('nvim-treesitter').setup { - -- A list of parser names, or "all" - -- ensure_installed = { "all" }, - - -- Install parsers synchronously (only applied to `ensure_installed`) - sync_install = false, - - -- List of parsers to ignore installing (for "all") - -- ignore_install = { "javascript" }, - - highlight = { - -- `false` will disable the whole extension - enable = true, - - -- NOTE: these are the names of the parsers and not the filetype. (for example if you want to - -- disable highlighting for the `tex` filetype, you need to include `latex` in this list as this is - -- the name of the parser) - -- list of language that will be disabled - -- disable = { "c", "rust" }, - - -- Setting this to true will run `:h syntax` and tree-sitter at the same time. - -- Set this to `true` if you depend on 'syntax' being enabled (like for indentation). - -- Using this option may slow down your editor, and you may see some duplicate highlights. - -- Instead of true it can also be a list of languages - additional_vim_regex_highlighting = false, - }, -} - -- telescope require('telescope').setup{ -- defaults = { @@ -273,7 +243,7 @@ end local servers = { 'ansiblels', -- 'arduino_language_server', - 'bashls', + -- 'bashls', -- 'ccls', 'clangd', 'erlangls', @@ -615,7 +585,8 @@ require("neo-tree").setup({ }, }) -require('leap').set_default_keymaps() +-- deprecated, maybe I should fix that +-- require('leap').set_default_keymaps() -- require('neotest').setup({ -- icons = { diff --git a/profile b/profile index 13b4ba3..49fb8bc 100644 --- a/profile +++ b/profile @@ -44,7 +44,7 @@ export SUDO_ASKPASS=/usr/bin/ssh-askpass-fullscreen # export MESA_VK_DEVICE_SELECT=10de:249d # Omen iGPU amd -export MESA_VK_DEVICE_SELECT=1002:1638 +# export MESA_VK_DEVICE_SELECT=1002:1638 # pass export PASSWORD_STORE_CLIP_TIME=10 diff --git a/xinitrc b/xinitrc index f86b945..b585465 100755 --- a/xinitrc +++ b/xinitrc @@ -21,10 +21,10 @@ export WINEFSYNC=1 export SUDO_ASKPASS=/usr/bin/ssh-askpass-fullscreen # Nvidia vaapi https://github.com/elFarto/nvidia-vaapi-driver?tab=readme-ov-file#direct-backend -export NVD_BACKEND=direct -export LIBVA_DRIVER_NAME=nvidia -export MOZ_DISABLE_RDD_SANDBOX=1 -export __EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/10_nvidia.json +# export NVD_BACKEND=direct +# export LIBVA_DRIVER_NAME=nvidia +# export MOZ_DISABLE_RDD_SANDBOX=1 +# export __EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/10_nvidia.json # xrandr --setprovideroutputsource modesetting NVIDIA-0 # xrandr --auto