Nvim and tmux changes

This commit is contained in:
2023-03-17 08:02:42 -04:00
parent 15fe3f52a9
commit b0c807728a
6 changed files with 13 additions and 63 deletions

View File

@@ -1,3 +1,5 @@
require("mason").setup()
require("mason-lspconfig").setup()
local nvim_lsp = require("lspconfig")
-- Use an on_attach function to only map the following keys
@@ -143,58 +145,3 @@ for _, lsp in ipairs(servers) do
})
end
-- Test source-kit
--require'lspconfig'.sourcekit.setup{}
-- local sumneko_root_path = os.getenv("HOME") .. ".cache/lua-language-server"
-- local sumneko_binary = "/usr/bin/lua-language-server"
-- require"lspconfig".sumneko_lua.setup {
-- cmd = {sumneko_binary, "-E", sumneko_root_path .. "/main.lua"},
-- capabilities = capabilities,
-- on_attach = on_attach,
-- settings = {
-- Lua = {
-- runtime = {version = "LuaJIT", path = vim.split(package.path, ";")},
-- completion = {enable = true, callSnippet = "Both"},
-- diagnostics = {
-- enable = true,
-- globals = {"vim", "describe"},
-- disable = {"lowercase-global"}
-- },
-- workspace = {
-- library = {
-- [vim.fn.expand("$VIMRUNTIME/lua")] = true,
-- [vim.fn.expand("$VIMRUNTIME/lua/vim/lsp")] = true,
-- [vim.fn.expand("/usr/share/awesome/lib")] = true
-- },
-- -- adjust these two values if your performance is not optimal
-- maxPreload = 2000,
-- preloadFileSize = 1000
-- },
-- telemetry = {enable = false}
-- }
-- }
-- }
-- alternative to formatter but yamlfix is not working and I need this for respecting yamllint config
-- but yamlfix is messing up ansible files ... 😠
-- require('lspconfig')['efm'].setup{
-- filetypes = { 'json', 'yaml','lua' },
-- init_options = {documentFormatting = true, codeAction = false},
-- settings = {
-- rootMarkers = {".git/"},
-- languages = {
-- lua = {
-- {formatCommand = "lua-format -i", formatStdin = true}
-- },
-- yaml = {
-- {formatCommand = "yamlfix -", formatStdin = true}
-- },
-- json = {
-- {formatCommand = "prettier", formatStdin = true}
-- }
-- }
-- }
-- }

View File

@@ -13,7 +13,7 @@ nightfox.setup({
match_paren = true, -- inverse the highlighting of match_parens
},
colors = {
--red = "#FF000", -- Override the red color for MAX POWER
red = "#FF000", -- Override the red color for MAX POWER
--bg_alt = "#000000",
},
hlgroups = {