diff --git a/home/mpv/files/mpv.conf b/home/mpv/files/mpv.conf index f796b36..21cab81 100644 --- a/home/mpv/files/mpv.conf +++ b/home/mpv/files/mpv.conf @@ -7,7 +7,8 @@ cscale=ewa_lanczossharp video-sync=display-resample interpolation tscale=oversample -hwdec=auto +vo=gpu-next +gpu-api=opengl force-window=yes keep-open=yes diff --git a/home/nvim/files/lua/plugins/avante.lua b/home/nvim/files/lua/plugins/avante.lua index b5e617d..0b34c80 100644 --- a/home/nvim/files/lua/plugins/avante.lua +++ b/home/nvim/files/lua/plugins/avante.lua @@ -3,24 +3,18 @@ return { event = "VeryLazy", version = false, -- Set this to "*" to always pull the latest release version, or set it to false to update to the latest code changes. opts = { - provider = "copilot", - -- cursor_applying_provider = 'ollama', - copilot = { - model = "claude-3.5-sonnet" - }, - ollama = { - model = "llama3.2:1b" - }, - behaviour = { - enable_cursor_planning_mode = false, -- enable cursor planning mode! - }, - hints = { enabled = false }, - vendors = { + providers = { + copilot = { + model = "claude-3.5-sonnet" + }, + ollama = { + model = "llama3.2:1b" + }, copilot_claude_new = { __inherited_from = "copilot", model = "claude-3.7-sonnet", }, - copilot_claude_old= { + copilot_claude_old = { __inherited_from = "copilot", model = "claude-3.5-sonnet", }, @@ -36,7 +30,13 @@ return { __inherited_from = "copilot", model = "gemini-2.0-flash-001", }, - } + }, + provider = "copilot", + -- cursor_applying_provider = 'ollama', + behaviour = { + enable_cursor_planning_mode = false, -- enable cursor planning mode! + }, + hints = { enabled = false }, }, -- if you want to build from source then do `make BUILD_FROM_SOURCE=true` build = "nix-shell -p cmake --command make", diff --git a/home/nvim/files/lua/plugins/blink.lua b/home/nvim/files/lua/plugins/blink.lua index c94781a..2f2e848 100644 --- a/home/nvim/files/lua/plugins/blink.lua +++ b/home/nvim/files/lua/plugins/blink.lua @@ -22,14 +22,14 @@ return { }, build = 'nix run --extra-experimental-features flakes --extra-experimental-features nix-command .#build-plugin', keys = { - {"n", vim.diagnostic.goto_next}, - {"p", vim.diagnostic.goto_prev}, - {"f", vim.lsp.buf.code_action}, - {"gd", vim.lsp.buf.definition}, - {"gi", vim.lsp.buf.implementation}, - {"gr", vim.lsp.buf.references}, - {"", vim.lsp.buf.hover}, - {"rn", vim.lsp.buf.rename}, + { "n", vim.diagnostic.goto_next }, + { "p", vim.diagnostic.goto_prev }, + { "f", vim.lsp.buf.code_action }, + { "gd", vim.lsp.buf.definition }, + { "gi", vim.lsp.buf.implementation }, + { "gr", vim.lsp.buf.references }, + { "", vim.lsp.buf.hover }, + { "rn", vim.lsp.buf.rename }, }, opts = { keymap = { @@ -41,7 +41,7 @@ return { [''] = { 'select_next', 'fallback' }, [''] = { 'scroll_documentation_up', 'fallback' }, [''] = { 'scroll_documentation_down', 'fallback' }, - [''] = { 'accept', 'fallback'}, + [''] = { 'accept', 'fallback' }, }, appearance = { nerd_font_variant = 'mono' @@ -63,7 +63,7 @@ return { avante = { module = 'blink-cmp-avante', name = 'Avante', - opts = { } -- options for blink-cmp-avante + opts = {} -- options for blink-cmp-avante } }, }, @@ -89,7 +89,8 @@ return { config = function(_, opts) require('blink.cmp').setup(opts) local lspconfig = require('lspconfig') - local filetypes = { "bibtex", "gitcommit", "markdown", "org", "tex", "restructuredtext", "rsweave", "latex", "quarto", "rmd", "context", "html", "xhtml", "typst", "mail" } + local filetypes = { "bibtex", "gitcommit", "markdown", "org", "tex", "restructuredtext", "rsweave", "latex", + "quarto", "rmd", "context", "html", "xhtml", "typst", "mail" } local lsp_opts = { servers = { basedpyright = { @@ -140,7 +141,7 @@ return { }, diagnostics = { -- Get the language server to recognize the `vim` global - globals = {'vim', 'use', 'awesome', 'client', 'root'}, + globals = { 'vim', 'use', 'awesome', 'client', 'root' }, }, workspace = { -- Make the server aware of Neovim runtime files @@ -159,8 +160,8 @@ return { }, ltex = { on_attach = function(_, _) - require("ltex_extra").setup{ - load_langs = {"nl-BE", "en-US", "en-GB"}, + require("ltex_extra").setup { + load_langs = { "nl-BE", "en-US", "en-GB" }, init_check = true, } end, @@ -173,7 +174,7 @@ return { filetypes = filetypes }, bashls = { - filetypes = {"sh", "bash", "zsh"}, + filetypes = { "sh", "bash", "zsh" }, }, texlab = {}, nixd = {}, @@ -190,7 +191,7 @@ return { rust_analyzer = {}, gopls = {}, ruff = {}, - ts_ls= {}, + ts_ls = {}, } } for server, config in pairs(lsp_opts.servers) do