Compare commits
3 Commits
a43c683e7e
...
1a0ebdffcf
| Author | SHA1 | Date | |
|---|---|---|---|
|
1a0ebdffcf
|
|||
|
379e4c76d7
|
|||
|
f93ef6c44a
|
@@ -21,6 +21,7 @@
|
||||
"mkdir.nvim": { "branch": "main", "commit": "c55d1dee4f099528a1853b28bb28caa802eba217" },
|
||||
"nvim-autopairs": { "branch": "master", "commit": "4d74e75913832866aa7de35e4202463ddf6efd1b" },
|
||||
"nvim-cmp": { "branch": "main", "commit": "b5311ab3ed9c846b585c0c15b7559be131ec4be9" },
|
||||
"nvim-coverage": { "branch": "main", "commit": "a939e425e363319d952a6c35fb3f38b34041ded2" },
|
||||
"nvim-dap": { "branch": "master", "commit": "7367cec8e8f7a0b1e4566af9a7ef5959d11206a7" },
|
||||
"nvim-dap-go": { "branch": "main", "commit": "b4421153ead5d726603b02743ea40cf26a51ed5f" },
|
||||
"nvim-dap-python": { "branch": "master", "commit": "bfe572e4458e0ac876b9539a1e9f301c72db8ea0" },
|
||||
@@ -31,10 +32,12 @@
|
||||
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "b8221e42cf7287c4dcde81f232f58d7b947c210d" },
|
||||
"overseer.nvim": { "branch": "master", "commit": "fe7b2f9ba263e150ab36474dfc810217b8cf7400" },
|
||||
"peek.nvim": { "branch": "master", "commit": "5820d937d5414baea5f586dc2a3d912a74636e5b" },
|
||||
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
|
||||
"render-markdown.nvim": { "branch": "main", "commit": "9ab9dade85d8c7d411cc89b592028da3d1b7955a" },
|
||||
"rust.vim": { "branch": "master", "commit": "889b9a7515db477f4cb6808bef1769e53493c578" },
|
||||
"rustaceanvim": { "branch": "master", "commit": "e9c5aaba16fead831379d5f44617547a90b913c7" },
|
||||
"sniprun": { "branch": "master", "commit": "94ca2a7ff33f9dbe9bef093a2efb2aa12ad64aeb" },
|
||||
"sonarlint.nvim": { "branch": "main", "commit": "6a3f95e0b034ce601d7a970ce4136d6a3ba7a685" },
|
||||
"telescope.nvim": { "branch": "master", "commit": "b4da76be54691e854d3e0e02c36b0245f945c2c7" },
|
||||
"todo-comments.nvim": { "branch": "main", "commit": "304a8d204ee787d2544d8bc23cd38d2f929e7cc5" },
|
||||
|
||||
@@ -30,6 +30,7 @@ M.base46 = {
|
||||
M.mason = {
|
||||
pkgs = {
|
||||
"typescript-language-server",
|
||||
"nilaway",
|
||||
"eslint-lsp",
|
||||
"lua-language-server",
|
||||
"html-lsp",
|
||||
@@ -50,7 +51,12 @@ M.mason = {
|
||||
"clangd",
|
||||
"tilt",
|
||||
"cpptools",
|
||||
"cucumber-language-server",
|
||||
"vacuum",
|
||||
"deno",
|
||||
"api-linter",
|
||||
"buf",
|
||||
"graphql-language-service-cli",
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@@ -8,6 +8,9 @@ local options = {
|
||||
tsx = { "prettier" },
|
||||
js = { "prettier" },
|
||||
jsx = { "prettier" },
|
||||
typescript = { "prettier" },
|
||||
proto = { "buf" },
|
||||
graphql = { "prettier" },
|
||||
},
|
||||
|
||||
format_on_save = {
|
||||
|
||||
@@ -6,7 +6,12 @@ local lspconfig_util = require("lspconfig.util")
|
||||
local root_pattern = lspconfig_util.root_pattern
|
||||
|
||||
local servers = {
|
||||
{ name = "buf_ls" },
|
||||
{ name = "html" },
|
||||
{ name = "cucumber-language-server" },
|
||||
{ name = "nilaway", config = { filetypes = { "go" } } },
|
||||
{ name = "api-linter" },
|
||||
{ name = "graphql" },
|
||||
{ name = "vacuum", config = { filetypes = { "api.yaml" } } },
|
||||
{ name = "tilt_ls", config = { filetypes = { "starlark" } } },
|
||||
{ name = "cssls" },
|
||||
|
||||
@@ -106,3 +106,5 @@ map("n", "<leader>ghd", function()
|
||||
vim.cmd("split")
|
||||
require("telescope.builtin").lsp_definitions()
|
||||
end, { desc = "Go to LSP definition in a new split" })
|
||||
|
||||
vim.cmd(":tnoremap <Esc> <C-\\><C-n>")
|
||||
|
||||
@@ -11,4 +11,19 @@ vim.filetype.add({
|
||||
["Tiltfile"] = "starlark",
|
||||
["api.yaml"] = "api.yaml",
|
||||
},
|
||||
pattern = {
|
||||
[".*%.tilt"] = "starlark",
|
||||
},
|
||||
})
|
||||
|
||||
-- Reload file if changed on disk
|
||||
vim.o.autoread = true
|
||||
-- Check for file changes automatically on common events
|
||||
vim.api.nvim_create_autocmd({ "FocusGained", "BufEnter", "CursorHold", "CursorHoldI" }, {
|
||||
command = "checktime",
|
||||
})
|
||||
vim.api.nvim_create_autocmd("FileChangedShellPost", {
|
||||
callback = function()
|
||||
vim.notify("File changed on disk. Buffer reloaded.", vim.log.levels.INFO)
|
||||
end,
|
||||
})
|
||||
|
||||
@@ -4,11 +4,45 @@ return {
|
||||
event = "BufWritePre", -- uncomment for format on save
|
||||
opts = require("configs.conform"),
|
||||
},
|
||||
{
|
||||
"toppair/peek.nvim",
|
||||
event = { "VeryLazy" },
|
||||
build = "deno task --quiet build:fast",
|
||||
config = function()
|
||||
require("peek").setup()
|
||||
vim.api.nvim_create_user_command("PeekOpen", require("peek").open, {})
|
||||
vim.api.nvim_create_user_command("PeekClose", require("peek").close, {})
|
||||
end,
|
||||
},
|
||||
{
|
||||
"andythigpen/nvim-coverage",
|
||||
version = "*",
|
||||
lazy = false,
|
||||
config = function()
|
||||
require("coverage").setup({
|
||||
commands = true,
|
||||
auto_reload = true,
|
||||
})
|
||||
end,
|
||||
},
|
||||
{
|
||||
"michaelb/sniprun",
|
||||
branch = "master",
|
||||
lazy = false,
|
||||
|
||||
build = "sh install.sh",
|
||||
-- do 'sh install.sh 1' if you want to force compile locally
|
||||
-- (instead of fetching a binary from the github release). Requires Rust >= 1.65
|
||||
|
||||
config = function()
|
||||
require("sniprun").setup({
|
||||
-- your options
|
||||
})
|
||||
end,
|
||||
},
|
||||
{
|
||||
"MeanderingProgrammer/render-markdown.nvim",
|
||||
dependencies = { "nvim-treesitter/nvim-treesitter", "nvim-mini/mini.nvim" }, -- if you use the mini.nvim suite
|
||||
-- dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-mini/mini.icons' }, -- if you use standalone mini plugins
|
||||
-- dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-tree/nvim-web-devicons' }, -- if you prefer nvim-web-devicons
|
||||
dependencies = { "nvim-treesitter/nvim-treesitter", "nvim-mini/mini.nvim" },
|
||||
---@module 'render-markdown'
|
||||
---@type render.md.UserConfig
|
||||
opts = {},
|
||||
|
||||
Reference in New Issue
Block a user