diff options
author | Joe <bousset.rudy@gmail.com> | 2024-06-15 20:08:12 +0200 |
---|---|---|
committer | Joe <bousset.rudy@gmail.com> | 2024-06-15 20:08:12 +0200 |
commit | a7ed3c35e4be7e4fe1993448e179d5836f7366ee (patch) | |
tree | 86f714b01a6a1bee8cf85863f8739f2238fcc983 /.config | |
parent | up (diff) | |
download | dotfiles-bsd-a7ed3c35e4be7e4fe1993448e179d5836f7366ee.tar.gz dotfiles-bsd-a7ed3c35e4be7e4fe1993448e179d5836f7366ee.tar.bz2 dotfiles-bsd-a7ed3c35e4be7e4fe1993448e179d5836f7366ee.tar.xz dotfiles-bsd-a7ed3c35e4be7e4fe1993448e179d5836f7366ee.tar.zst dotfiles-bsd-a7ed3c35e4be7e4fe1993448e179d5836f7366ee.zip |
up
Diffstat (limited to '.config')
-rw-r--r-- | .config/nvim/after/plugin/lsp.lua | 44 | ||||
-rw-r--r-- | .config/pipe-viewer/pipe-viewer.conf | 3 |
2 files changed, 31 insertions, 16 deletions
diff --git a/.config/nvim/after/plugin/lsp.lua b/.config/nvim/after/plugin/lsp.lua index d562e6f..fc2e7ab 100644 --- a/.config/nvim/after/plugin/lsp.lua +++ b/.config/nvim/after/plugin/lsp.lua @@ -17,25 +17,31 @@ lsp.on_attach(function(client, bufnr) vim.keymap.set('i', '<C-h>', function() vim.lsp.buf.signature_help() end, opts) end) -require('mason').setup({}) -require('mason-lspconfig').setup({ - ensure_installed = { - 'tsserver', - 'eslint', - 'rust_analyzer', - 'lua_ls', - 'gopls', - 'arduino_language_server', - 'bashls', - 'perlnavigator', +require('mason').setup({ + servers = { 'clangd', - 'yamlls', }, - handlers = { - lsp.default_setup, - }, }) + +-- require('mason-lspconfig').setup({ +-- ensure_installed = { +-- 'tsserver', +-- 'eslint', +-- 'rust_analyzer', +-- 'lua_ls', +-- 'gopls', +-- 'arduino_language_server', +-- 'bashls', +-- 'perlnavigator', +-- 'clangd', +-- 'yamlls', +-- }, +-- handlers = { +-- lsp.default_setup, +-- }, +-- }) + -- langs require('lspconfig').gopls.setup({ @@ -59,6 +65,14 @@ require('lspconfig').gopls.setup({ }, }) +require('lspconfig').clangd.setup({ + settings = { + clangd = { + mason = false, + }, + }, +}) + require'lspconfig'.terraformls.setup{} vim.api.nvim_create_autocmd({"BufWritePre"}, { pattern = {"*.tf", "*.tfvars"}, diff --git a/.config/pipe-viewer/pipe-viewer.conf b/.config/pipe-viewer/pipe-viewer.conf index 1fcc063..ee576bf 100644 --- a/.config/pipe-viewer/pipe-viewer.conf +++ b/.config/pipe-viewer/pipe-viewer.conf @@ -1,6 +1,6 @@ #!/usr/bin/perl -# CLI Pipe Viewer 0.4.4 - configuration file +# CLI Pipe Viewer 0.5.0 - configuration file use utf8; @@ -9,6 +9,7 @@ our $CONFIG = { audio_quality => "best", auto_captions => 0, autoplay_mode => 0, + bypass_age_gate_native => 0, bypass_age_gate_with_proxy => 0, cache_dir => "$ENV{HOME}/.cache/pipe-viewer", colors => 1, |