floating window border

This commit is contained in:
Kulvir Singh
2024-06-25 02:07:01 +05:30
parent 6359ba7ce8
commit 1145c928cb
4 changed files with 32 additions and 11 deletions

View File

@@ -20,6 +20,7 @@
"mason.nvim": { "branch": "main", "commit": "49ff59aded1047a773670651cfa40e76e63c6377" },
"mini.nvim": { "branch": "main", "commit": "eb2dd6d187e1ab5fefec66f0d37b1a3dc8633d17" },
"neodev.nvim": { "branch": "main", "commit": "ce9a2e8eaba5649b553529c5498acb43a6c317cd" },
"noice.nvim": { "branch": "main", "commit": "cade1f972ba226e7753a7a113f3f1a942908e73c" },
"nvim-cmp": { "branch": "main", "commit": "5260e5e8ecadaf13e6b82cf867a909f54e15fd07" },
"nvim-dap": { "branch": "master", "commit": "5a2f7121869394502521c52b2bc581ab22c69447" },
"nvim-dap-go": { "branch": "main", "commit": "5faf165f5062187320eaf9d177c3c1f647adc22e" },

View File

@@ -2,6 +2,7 @@ return {
"catppuccin/nvim",
name = "catpuccin",
priority = 1000,
lazy = false,
init = function()
require("catppuccin").setup {
transparent_background = true,
@@ -11,5 +12,17 @@ return {
vim.cmd.hi "Comment gui=none"
vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(vim.lsp.handlers.hover, {
border = "rounded",
})
vim.lsp.handlers["textDocument/signatureHelp"] = vim.lsp.with(vim.lsp.handlers.signature_help, {
border = "rounded",
})
vim.diagnostic.config {
float = { border = "rounded" },
}
end,
}

View File

@@ -28,14 +28,14 @@ return {
html = {
filetypes = { "html", "tmpl" },
},
jsonls = {
settings = {
json = {
schemas = require("schemastore").json.schemas(),
validate = { enable = true },
},
},
},
-- jsonls = {
-- settings = {
-- json = {
-- schemas = require("schemastore").json.schemas(),
-- validate = { enable = true },
-- },
-- },
-- },
lua_ls = {
-- cmd = {...},
-- filetypes = { ...},
@@ -50,7 +50,7 @@ return {
},
},
},
pyright = {},
-- pyright = {},
tsserver = {},
tailwindcss = {
filetypes = { "html", "css", "typescript", "typescriptreact" },
@@ -64,9 +64,9 @@ return {
"clang-format",
"gofumpt",
"goimports-reviser",
"mypy",
-- "mypy",
"prettier",
"ruff",
-- "ruff",
"stylua",
})
require("mason-tool-installer").setup { ensure_installed = ensure_installed }

View File

@@ -0,0 +1,7 @@
return {
-- "folke/noice.nvim",
-- event = "VeryLazy",
-- dependencies = {
-- "MunifTanjim/nui.nvim",
-- },
}