Giter Club home page Giter Club logo

csharp-namespace.nvim's Introduction

csharp-namespace.nvim

csharp-namespace.nvim is a Neovim plugin designed to enhance C# development by providing namespace completions. It integrates seamlessly with nvim-cmp to offer a better coding experience for C# developers.

Requirements

Installation

Using lazy.nvim as the plugin manager, add the following configuration to your Neovim setup:

return {
  {
    "markchristianlacap/csharp-namespace.nvim",
    ft = "cs",
    dependencies = {
      "hrsh7th/nvim-cmp",
    },
    config = function()
      require("csharp-namespace").setup {}
      local cmp = require "cmp"
      local config = cmp.get_config()
      table.insert(config.sources, {
        name = "csharp-namespace",
        group_index = 1,
        priority = 10000,
      })
      cmp.setup(config)
    end,
  },
}

Usage

Once installed, the plugin automatically provides namespace completions for C# files. No additional configuration is necessary beyond the initial setup.

Configuration

You can customize the behavior of csharp-namespace.nvim by passing options to the setup function. Here is an example of the available configuration options and their defaults:

require("csharp-namespace").setup {}

cmp.setup({
  sources = cmp.config.sources({
    { name = 'csharp-namespace' }
  })
})

Notes

This plugin only currently works on Linux and UNIX-based systems where the find command is available.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request or open an Issue on GitHub.

License

This project is licensed under the MIT License.

Acknowledgements

Special thanks to the contributors of nvim-cmp for their amazing work in providing a powerful completion engine for Neovim.

Contact

For any questions or feedback, you can reach out via GitHub Issues.

csharp-namespace.nvim's People

Contributors

markchristianlacap avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.