},
},
- {
- -- Add indentation guides even on blank lines
- 'lukas-reineke/indent-blankline.nvim',
- main = "ibl",
- opts = { },
- },
-
-- { dir = '~/github/mynvimplugins/btoggle.nvim/' },
{ 'tobser/btoggle.nvim' },
-- See `:help vim.o`
-- Set highlight on search
-vim.o.hlsearch = false
+vim.o.hlsearch = true
-- Make line numbers default
vim.wo.relativenumber = true
require('nvim-treesitter.configs').setup {
-- Add languages to be installed here that you want installed for treesitter
ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'typescript', 'vimdoc', 'vim', 'html',
- 'c_sharp', 'perl', 'python' ,'markdown' },
+ 'c_sharp', 'perl', 'bash', 'python' ,'markdown' },
-- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!)
auto_install = false,
highlight = { enable = true },
- indent = { enable = true, disable = { 'python' } },
+ indent = { enable = false, disable = { 'python' } },
incremental_selection = {
enable = true,
keymaps = {
nmap('<leader>ds', require('telescope.builtin').lsp_document_symbols, '[D]ocument [S]ymbols')
nmap('<leader>ws', require('telescope.builtin').lsp_dynamic_workspace_symbols, '[W]orkspace [S]ymbols')
-
-
-- See `:help K` for why this keymap
nmap('K', vim.lsp.buf.hover, 'Hover Documentation')
nmap('<C-k>', vim.lsp.buf.signature_help, 'Signature Documentation')
end,
}
+-- require('lspconfig').perlls.setup {
+-- settings = {
+-- perl = {
+-- perlInc = {
+-- '/home/pi/git/misterhouse/lib',
+-- '/home/pi/git/misterhouse/bin',
+-- },
+-- },
+-- },
+-- capabilities = capabilities,
+-- on_attach = on_attach,
+-- }
+--
+require('lspconfig').perlpls.setup {
+ on_attach = on_attach,
+ settings = {
+ perl = {
+ perlcritic = {
+ enabled = false
+ },
+ syntax = {
+ enabled = true
+ },
+ inc = {
+ '/home/pi/git/misterhouse/lib',
+ '/home/pi/git/misterhouse/bin',
+ },
+ },
+ },
+ capabilities = capabilities,
+}
+
-- nvim-cmp setup
local cmp = require 'cmp'
local luasnip = require 'luasnip'
"javascriptreact",
"json",
"less",
+ "perl",
"markdown",
"scss",
"typescript",