mirror of
https://github.com/gabehf/nvim-conf.git
synced 2026-03-11 08:20:50 -07:00
fix statusline + some lsp stuff
This commit is contained in:
parent
cc4abb76ee
commit
d9d98ca2c8
12 changed files with 216 additions and 60 deletions
|
|
@ -12,7 +12,6 @@ return {
|
|||
formatters_by_ft = {
|
||||
bash = { "shfmt" },
|
||||
sh = { "shfmt" },
|
||||
fish = { "fish_indent" },
|
||||
lua = { "stylua" },
|
||||
go = { "goimports", "gofumpt", "goimports-reviser" },
|
||||
javascript = { { "prettierd", "prettier" } },
|
||||
|
|
|
|||
|
|
@ -1,13 +1,12 @@
|
|||
return {
|
||||
"lukas-reineke/indent-blankline.nvim",
|
||||
main = "ibl",
|
||||
event = "User FilePost",
|
||||
opts = {
|
||||
indent = { char = "│", highlight = "IblChar" },
|
||||
scope = { char = "│", highlight = "IblScopeChar" },
|
||||
},
|
||||
config = function(_, opts)
|
||||
dofile(vim.g.base46_cache .. "blankline")
|
||||
|
||||
local hooks = require "ibl.hooks"
|
||||
hooks.register(hooks.type.WHITESPACE, hooks.builtin.hide_first_space_indent_level)
|
||||
require("ibl").setup(opts)
|
||||
|
|
|
|||
|
|
@ -32,6 +32,13 @@ return {
|
|||
handlers = {
|
||||
function(server_name)
|
||||
require("lspconfig")[server_name].setup {}
|
||||
require("lspconfig").lua_ls.setup {
|
||||
settings = {
|
||||
Lua = {
|
||||
diagnostics = { globals = { "vim" } },
|
||||
},
|
||||
},
|
||||
}
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,7 +8,9 @@ return {
|
|||
opts = function()
|
||||
return { override = require "nvchad.icons.devicons" }
|
||||
end,
|
||||
-- opts = {},
|
||||
opts = function()
|
||||
require "configs.nvim-tree"
|
||||
end,
|
||||
config = function(_, opts)
|
||||
dofile(vim.g.base46_cache .. "devicons")
|
||||
require("nvim-web-devicons").setup(opts)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue