1
Fork 0

Got tmux to act the way I want on startup let's goooo

This commit is contained in:
Matei Adriel 2022-12-04 07:56:20 +01:00
parent 01ee066c62
commit 32b53a7fd6
21 changed files with 171 additions and 73 deletions
dotfiles/neovim/lua/my/plugins

View file

@ -17,11 +17,11 @@ function M.setup()
require("my.plugins.nvim-tree").setup()
require("my.plugins.lualine").setup()
require("my.plugins.vimux").setup()
require("my.plugins.whichkey").setup()
-- require("my.plugins.whichkey").setup()
require("toggleterm").setup()
require("my.plugins.neogit").setup()
require("my.plugins.noice").setup()
-- require("my.plugins.noice").setup()
end)
require("my.plugins.dashboard").setup()
@ -32,7 +32,7 @@ function M.setup()
require("my.plugins.null-ls").setup()
require("my.plugins.vimtex").setup()
require("my.plugins.lean").setup()
require("my.plugins.notify").setup()
-- require("my.plugins.notify").setup()
end)
if env.firevim.active() then

View file

@ -4,8 +4,8 @@ local M = {}
function M.setup()
require('lean').setup {
abbreviations = { builtin = true, cmp = true },
lsp = { on_attach = lspconfig.on_attach },
lsp3 = { on_attach = lspconfig.on_attach },
lsp = { on_attach = lspconfig.on_attach, capabilities = lspconfig.capabilities },
lsp3 = false,
mappings = true
}
end

View file

@ -84,6 +84,7 @@ local servers = {
},
rnix = {},
cssls = {},
rust_analyzer = {},
-- texlab = {
-- build = {
-- executable = "tectonic",
@ -101,8 +102,9 @@ local servers = {
-- agda = {}, Haven't gotten this one to work yet
}
M.capabilities = require('cmp_nvim_lsp').default_capabilities()
function M.setup()
local capabilities = require('cmp_nvim_lsp').default_capabilities()
-- Setup basic language servers
for lsp, details in pairs(servers) do
@ -118,7 +120,7 @@ function M.setup()
debounce_text_changes = 150 -- This will be the default in neovim 0.7+
},
cmd = details.cmd,
capabilities = capabilities
capabilities = M.capabilities
}
end
end

View file

@ -1,18 +1,36 @@
local M = {}
function M.setup()
require 'nvim-treesitter.configs'.setup {
require'nvim-treesitter.configs'.setup {
ensure_installed = {
"bash", "javascript", "typescript", "c", "cpp", "css", "dockerfile",
"elixir", "fish", "html", "json", "latex", "python", "rust", "scss",
"toml", "tsx", "vim", "yaml", "nix", "kotlin"
"bash",
"javascript",
"typescript",
"c",
"cpp",
"css",
"dockerfile",
"elixir",
"fish",
"html",
"json",
"latex",
"python",
"rust",
"scss",
"toml",
"tsx",
"vim",
"yaml",
"nix",
"kotlin"
},
sync_install = false,
indent = { enable = true },
highlight = {
enable = true,
disable = { "kotlin", "tex", "latex" },
disable = { "kotlin", "tex", "latex", "lean" },
-- Setting this to true will run `:h syntax` and tree-sitter at the same time.
-- Set this to `true` if you depend on 'syntax' being enabled (like for indentation).