From 4d0578fb866fa9c0598f2c37df3322dacad44392 Mon Sep 17 00:00:00 2001 From: qwjyh Date: Thu, 20 Apr 2023 16:30:50 +0900 Subject: [PATCH] cmake --- dotfiles/neovim/init.lua | 32 ++++++++------------------------ dotfiles/wezterm/wezterm.lua | 2 ++ 2 files changed, 10 insertions(+), 24 deletions(-) diff --git a/dotfiles/neovim/init.lua b/dotfiles/neovim/init.lua index 4caf3d4..b8506ea 100644 --- a/dotfiles/neovim/init.lua +++ b/dotfiles/neovim/init.lua @@ -437,33 +437,17 @@ lspconfig.bashls.setup { lspconfig.powershell_es.setup { bundle_path = '~/scoop/apps/powershell-editorservice/current/PowerShellEditorServices' } --- python -lspconfig.pyright.setup { - on_attach = on_attach, - capabilities = capabilities, -} --- rust -lspconfig.rust_analyzer.setup { - on_attach = on_attach, - capabilities = capabilities, -} --- tex -lspconfig.texlab.setup { - on_attach = on_attach, - capabilities = capabilities, -} -- -- jetls -- lspconfig.jetls.setup {} -- ccls -lspconfig.ccls.setup { - on_attach = on_attach, - capabilities = capabilities, -} --- tsserver -lspconfig.tsserver.setup { - on_attach = on_attach, - capabilities = capabilities, -} + +local lss = {"pyright", "rust_analyzer", "texlab", "ccls", "clangd", "tsserver", --[["tailwindcss"]] "hls", "cmake",} +for _, ls in pairs(lss) do + lspconfig[ls].setup { + on_attach = on_attach, + capabilities = capabilities, + } +end -- nvim-cmp setup local cmp = require 'cmp' diff --git a/dotfiles/wezterm/wezterm.lua b/dotfiles/wezterm/wezterm.lua index 2db4f6e..5bb1712 100644 --- a/dotfiles/wezterm/wezterm.lua +++ b/dotfiles/wezterm/wezterm.lua @@ -51,5 +51,7 @@ return { tab_bar_at_bottom = true, window_background_opacity = 0.8, + + font = wezterm.font 'FirgeNerd Console' }