mpv-ify works
remove rnix from gps
This commit is contained in:
parent
01b954649d
commit
0e39e84add
|
@ -1,3 +1,3 @@
|
||||||
#!/usr/bin/bash
|
#!/usr/bin/env bash
|
||||||
URL="$(xclip -o)"
|
URL="$(xclip -selection clipboard -o)"
|
||||||
mpv $URL
|
mpv $URL
|
||||||
|
|
|
@ -496,7 +496,7 @@ in
|
||||||
capabilities = require('cmp_nvim_lsp').update_capabilities(capabilities)
|
capabilities = require('cmp_nvim_lsp').update_capabilities(capabilities)
|
||||||
|
|
||||||
local lspconfig = require('lspconfig')
|
local lspconfig = require('lspconfig')
|
||||||
local servers = { 'clojure_lsp', 'rnix', 'terraform_lsp' }
|
local servers = { 'clojure_lsp', 'terraform_lsp' }
|
||||||
for _, lsp in ipairs(servers) do
|
for _, lsp in ipairs(servers) do
|
||||||
lspconfig[lsp].setup {
|
lspconfig[lsp].setup {
|
||||||
on_attach = function(client, bufnr)
|
on_attach = function(client, bufnr)
|
||||||
|
@ -506,6 +506,13 @@ in
|
||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
}
|
}
|
||||||
end
|
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 {
|
require('lspconfig').pylsp.setup {
|
||||||
on_attach = function(client, bufnr)
|
on_attach = function(client, bufnr)
|
||||||
format.on_attach(client)
|
format.on_attach(client)
|
||||||
|
|
Loading…
Reference in a new issue