fix stuff
This commit is contained in:
parent
546a80891f
commit
fa734bbf65
|
|
@ -1,12 +0,0 @@
|
||||||
return { -- Adds git related signs to the gutter, as well as utilities for managing changes
|
|
||||||
'lewis6991/gitsigns.nvim',
|
|
||||||
opts = {
|
|
||||||
signs = {
|
|
||||||
add = { text = '+' },
|
|
||||||
change = { text = '~' },
|
|
||||||
delete = { text = '_' },
|
|
||||||
topdelete = { text = '‾' },
|
|
||||||
changedelete = { text = '~' },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
@ -3,5 +3,12 @@ return {
|
||||||
lazy = false,
|
lazy = false,
|
||||||
init = function()
|
init = function()
|
||||||
vim.g.vimtex_view_method = 'zathura'
|
vim.g.vimtex_view_method = 'zathura'
|
||||||
|
vim.g.vimtex_compiler_latexmk = {
|
||||||
|
options = {
|
||||||
|
'-shell-escape',
|
||||||
|
'-pdf',
|
||||||
|
'-interaction=nonstopmode',
|
||||||
|
},
|
||||||
|
}
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -142,25 +142,6 @@ require('lazy').setup({
|
||||||
-- - settings (table): Override the default settings passed when initializing the server.
|
-- - settings (table): Override the default settings passed when initializing the server.
|
||||||
-- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/
|
-- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/
|
||||||
local servers = {
|
local servers = {
|
||||||
ts_ls = {
|
|
||||||
init_options = {
|
|
||||||
plugins = {
|
|
||||||
{
|
|
||||||
name = '@vue/typescript-plugin',
|
|
||||||
location = '/Users/fabianimhof/.nvm/versions/node/v16.20.2/lib/@vue/typescript-plugin',
|
|
||||||
languages = { 'javascript', 'typescript', 'vue' },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
filetypes = {
|
|
||||||
'typescript',
|
|
||||||
'typescriptreact',
|
|
||||||
'javascript',
|
|
||||||
'javascriptreact',
|
|
||||||
'typescript.tsx',
|
|
||||||
'vue',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
stylelint_lsp = {
|
stylelint_lsp = {
|
||||||
filetypes = { 'css', 'scss' },
|
filetypes = { 'css', 'scss' },
|
||||||
root_dir = require('lspconfig').util.root_pattern('package.json', '.git'),
|
root_dir = require('lspconfig').util.root_pattern('package.json', '.git'),
|
||||||
|
|
@ -196,6 +177,7 @@ require('lazy').setup({
|
||||||
csharp_ls = {},
|
csharp_ls = {},
|
||||||
netcoredbg = {},
|
netcoredbg = {},
|
||||||
clangd = {
|
clangd = {
|
||||||
|
cmd = { 'clangd', '--background-index', '--clang-tidy' },
|
||||||
init_options = {
|
init_options = {
|
||||||
fallbackFlags = { '--std=c++20' },
|
fallbackFlags = { '--std=c++20' },
|
||||||
},
|
},
|
||||||
|
|
@ -286,6 +268,7 @@ require('lazy').setup({
|
||||||
formatters_by_ft = {
|
formatters_by_ft = {
|
||||||
lua = { 'stylua' },
|
lua = { 'stylua' },
|
||||||
typescript = { 'prettierd' },
|
typescript = { 'prettierd' },
|
||||||
|
typescriptreact = { 'prettierd' },
|
||||||
javascript = { 'prettierd' },
|
javascript = { 'prettierd' },
|
||||||
json = { 'prettierd' },
|
json = { 'prettierd' },
|
||||||
scss = { 'prettierd' },
|
scss = { 'prettierd' },
|
||||||
|
|
@ -497,7 +480,7 @@ require('lazy').setup({
|
||||||
-- require 'kickstart.plugins.lint',
|
-- require 'kickstart.plugins.lint',
|
||||||
require 'kickstart.plugins.autopairs',
|
require 'kickstart.plugins.autopairs',
|
||||||
require 'kickstart.plugins.neo-tree',
|
require 'kickstart.plugins.neo-tree',
|
||||||
-- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
|
require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
|
||||||
|
|
||||||
{ import = 'custom.plugins' },
|
{ import = 'custom.plugins' },
|
||||||
}, {
|
}, {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue