diff --git a/users/profiles/desktop/bin/mpv-ify b/users/profiles/desktop/bin/mpv-ify index bb4138b8..d3f343b2 100755 --- a/users/profiles/desktop/bin/mpv-ify +++ b/users/profiles/desktop/bin/mpv-ify @@ -1,3 +1,3 @@ -#!/usr/bin/bash -URL="$(xclip -o)" +#!/usr/bin/env bash +URL="$(xclip -selection clipboard -o)" mpv $URL diff --git a/users/profiles/nvim/default.nix b/users/profiles/nvim/default.nix index 1d7233ea..3a00875c 100644 --- a/users/profiles/nvim/default.nix +++ b/users/profiles/nvim/default.nix @@ -496,7 +496,7 @@ in capabilities = require('cmp_nvim_lsp').update_capabilities(capabilities) local lspconfig = require('lspconfig') - local servers = { 'clojure_lsp', 'rnix', 'terraform_lsp' } + local servers = { 'clojure_lsp', 'terraform_lsp' } for _, lsp in ipairs(servers) do lspconfig[lsp].setup { on_attach = function(client, bufnr) @@ -506,6 +506,13 @@ in capabilities = capabilities, } end + -- rnix doesn't support gps + require('lspconfig').rnix.setup { + on_attach = function(client, bufnr) + format.on_attach(client) + end, + capabilities = capabilities, + } require('lspconfig').pylsp.setup { on_attach = function(client, bufnr) format.on_attach(client)