Compare commits

...

3 Commits

3 changed files with 36 additions and 0 deletions

View File

@ -23,6 +23,8 @@ spinner() {
} }
open_local () { open_local () {
# To avoid using pre-entered string in current buffer
tmux send-keys C-c
tmux send-keys "cd $PROJECT_PATH" Enter tmux send-keys "cd $PROJECT_PATH" Enter
# Close tmux popup if any # Close tmux popup if any

View File

@ -0,0 +1,26 @@
return {
"folke/noice.nvim",
event = "VeryLazy",
dependencies = {
"MunifTanjim/nui.nvim",
"rcarriga/nvim-notify"
},
config = function ()
require("noice").setup({
lsp = {
override = {
["vim.lsp.util.convert_input_to_markdown_lines"] = true,
["vim.lsp.util.stylize_markdown"] = true,
["cmp.entry.get_documentation"] = true,
}
},
presets = {
bottom_search = true,
command_palette = true,
long_message_to_split = true,
inc_rename = false,
lsp_doc_border = false,
}
})
end
}

View File

@ -8,6 +8,14 @@ return {
auto_install = true, auto_install = true,
highlight = { highlight = {
enable = true, enable = true,
is_supported = function ()
if vim.fn.strwidth(vim.fn.getline('.')) > 300
or vim.fn.getfsize(vim.fn.expand('%')) > 1024 * 1024 then
return false
else
return true
end
end
}, },
enable = { enable = {
enable = true, enable = true,